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

@@ -92,8 +92,8 @@ layers['wms4326'] = new TileLayer({
layers['wms21781'] = new TileLayer({
source: new TileWMS({
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>',
crossOrigin: 'anonymous',
params: {
'LAYERS': 'ch.swisstopo.pixelkarte-farbe-pk1000.noscale',