Fix attributions links for WMS layers from swisstopo

This commit is contained in:
Frederic Junod
2020-12-01 13:48:32 +01:00
parent dcaa7096bb
commit 6d04c360be
4 changed files with 17 additions and 17 deletions

View File

@@ -42,8 +42,8 @@ const layers = [
url: 'https://wms.geo.admin.ch/',
crossOrigin: 'anonymous',
attributions:
'© <a href="http://www.geo.admin.ch/internet/geoportal/' +
'en/home.html">Pixelmap 1:1000000 / geo.admin.ch</a>',
'© <a href="https://shop.swisstopo.admin.ch/en/products/maps/national/lk1000"' +
'target="_blank">Pixelmap 1:1000000 / geo.admin.ch</a>',
params: {
'LAYERS': 'ch.swisstopo.pixelkarte-farbe-pk1000.noscale',
'FORMAT': 'image/jpeg',
@@ -57,9 +57,9 @@ const layers = [
url: 'https://wms.geo.admin.ch/',
crossOrigin: 'anonymous',
attributions:
'© <a href="http://www.geo.admin.ch/internet/geoportal/' +
'en/home.html">National parks / geo.admin.ch</a>',
params: {'LAYERS': 'ch.bafu.schutzgebiete-paerke_nationaler_bedeutung'},
'© <a href="https://www.hydrodaten.admin.ch/en/notes-on-the-flood-alert-maps.html"' +
'target="_blank">Flood Alert / geo.admin.ch</a>',
params: {'LAYERS': 'ch.bafu.hydroweb-warnkarte_national'},
serverType: 'mapserver',
}),
}),