Skip to content

Commit 7394346

Browse files
committed
Replace toporama_en usage in where easily possible - to do: imageStep
1 parent 24bdcd7 commit 7394346

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/e2e/core/metaDefault.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<map-input name="xmax" type="location" units="pcrs" position="top-right" axis="easting" ></map-input>
3232
<map-input name="ymax" type="location" units="pcrs" position="top-left" axis="northing" ></map-input>
3333
<map-link rel="image"
34-
tref="https://maps.geogratis.gc.ca/wms/toporama_en?SERVICE=WMS&REQUEST=GetMap&FORMAT=image/jpeg&TRANSPARENT=FALSE&STYLES=&VERSION=1.3.0&LAYERS=WMS-Toporama&WIDTH={w}&HEIGHT={h}&CRS=EPSG:3978&BBOX={xmin},{ymin},{xmax},{ymax}&m4h=t" ></map-link>
34+
tref="images/toporama_en.jpg?SERVICE=WMS&REQUEST=GetMap&FORMAT=image/jpeg&TRANSPARENT=FALSE&STYLES=&VERSION=1.3.0&LAYERS=WMS-Toporama&WIDTH={w}&HEIGHT={h}&CRS=EPSG:3978&BBOX={xmin},{ymin},{xmax},{ymax}&m4h=t" ></map-link>
3535
</map-extent>
3636
</layer->
3737
<layer- id="defaultMeta" label="Default meta" checked>

test/e2e/layers/multipleExtents.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<map-input name="xmax" type="location" units="pcrs" position="top-right" axis="easting" ></map-input>
5050
<map-input name="ymax" type="location" units="pcrs" position="top-left" axis="northing" ></map-input>
5151
<map-link rel="image"
52-
tref="https://maps.geogratis.gc.ca/wms/toporama_en?SERVICE=WMS&REQUEST=GetMap&FORMAT=image/jpeg&TRANSPARENT=FALSE&STYLES=&VERSION=1.3.0&LAYERS=WMS-Toporama&WIDTH={w}&HEIGHT={h}&CRS=EPSG:3978&BBOX={xmin},{ymin},{xmax},{ymax}&m4h=t" ></map-link>
52+
tref="images/toporama_en.jpg?SERVICE=WMS&REQUEST=GetMap&FORMAT=image/jpeg&TRANSPARENT=FALSE&STYLES=&VERSION=1.3.0&LAYERS=WMS-Toporama&WIDTH={w}&HEIGHT={h}&CRS=EPSG:3978&BBOX={xmin},{ymin},{xmax},{ymax}&m4h=t" ></map-link>
5353
</map-extent>
5454
</layer->
5555
</mapml-viewer>

test/server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ app.get('/data/noMapMeta', (req, res, next) => {
7373

7474
app.use('/data', express.static(path.join(__dirname, 'e2e/data/tiles/cbmt')));
7575
app.use('/data', express.static(path.join(__dirname, 'e2e/data/tiles/wgs84')));
76-
app.use('/images', express.static(path.join(__dirname,'e2e/data/images')));
76+
app.use('/images', express.static(path.join(__dirname, 'e2e/data/images')));
7777
app.use(
7878
'/data',
7979
express.static(path.join(__dirname, 'e2e/data/tiles/osmtile'))

0 commit comments

Comments
 (0)