swisstopo ski touring layer

This commit is contained in:
vcoppe
2024-06-06 12:52:00 +02:00
parent c97f52e746
commit 41d5fa4efc
2 changed files with 11 additions and 0 deletions

View File

@@ -316,6 +316,13 @@ export const overlays: { [key: string]: AnySourceData; } = {
maxzoom: 18,
attribution: '&copy; <a href="https://www.swisstopo.admin.ch" target="_blank">swisstopo</a>'
},
swisstopoSkiTouring: {
type: 'raster',
tiles: ['https://wmts.geo.admin.ch/1.0.0/ch.swisstopo-karto.skitouren/default/current/3857/{z}/{x}/{y}.png'],
tileSize: 256,
maxzoom: 17,
attribution: '&copy; <a href="https://www.swisstopo.admin.ch" target="_blank">swisstopo</a>'
},
ignFrCadastre: {
type: 'raster',
tiles: ['https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&TILEMATRIXSET=PM&TILEMATRIX={z}&TILECOL={x}&TILEROW={y}&LAYER=CADASTRALPARCELS.PARCELS&FORMAT=image/png&STYLE=normal'],
@@ -464,6 +471,7 @@ export const overlayTree: LayerTreeType = {
swisstopoSlope: true,
swisstopoCycling: true,
swisstopoMountainBike: true,
swisstopoSkiTouring: true,
}
},
},
@@ -498,6 +506,7 @@ export const defaultOverlays = {
swisstopoSlope: false,
swisstopoCycling: false,
swisstopoMountainBike: false,
swisstopoSkiTouring: false,
}
},
},
@@ -578,6 +587,7 @@ export const defaultOverlayTree: LayerTreeType = {
swisstopoSlope: false,
swisstopoCycling: false,
swisstopoMountainBike: false,
swisstopoSkiTouring: false,
}
},
}

View File

@@ -156,6 +156,7 @@
"swisstopoSlope": "swisstopo Slope",
"swisstopoCycling": "swisstopo Cycling",
"swisstopoMountainBike": "swisstopo MTB",
"swisstopoSkiTouring": "swisstopo Ski Touring",
"ignFrCadastre": "IGN Cadastre",
"ignSlope": "IGN Slope",
"ignSkiTouring": "IGN Ski Touring",