From 797993983519c9286032e45fce3da1d7cc36ef40 Mon Sep 17 00:00:00 2001 From: vcoppe Date: Thu, 6 Jun 2024 12:16:07 +0200 Subject: [PATCH] ign ski touring layer --- website/src/lib/assets/layers.ts | 10 ++++++++++ website/src/locales/en.json | 1 + 2 files changed, 11 insertions(+) diff --git a/website/src/lib/assets/layers.ts b/website/src/lib/assets/layers.ts index 95b0626f..d83c0c2c 100644 --- a/website/src/lib/assets/layers.ts +++ b/website/src/lib/assets/layers.ts @@ -330,6 +330,13 @@ export const overlays: { [key: string]: AnySourceData; } = { maxzoom: 17, attribution: 'IGN-F/Géoportail' }, + ignSkiTouring: { + type: 'raster', + tiles: ['https://data.geopf.fr/wmts?SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&TileMatrixSet=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&Layer=TRACES.RANDO.HIVERNALE&FORMAT=image/png&Style=normal'], + tileSize: 256, + maxzoom: 16, + attribution: 'IGN-F/Géoportail' + }, waymarkedTrailsHiking: { type: 'raster', tiles: ['https://tile.waymarkedtrails.org/hiking/{z}/{x}/{y}.png'], @@ -451,6 +458,7 @@ export const overlayTree: LayerTreeType = { france: { ignFrCadastre: true, ignSlope: true, + ignSkiTouring: true, }, switzerland: { swisstopoSlope: true, @@ -484,6 +492,7 @@ export const defaultOverlays = { france: { ignFrCadastre: false, ignSlope: false, + ignSkiTouring: false, }, switzerland: { swisstopoSlope: false, @@ -563,6 +572,7 @@ export const defaultOverlayTree: LayerTreeType = { france: { ignFrCadastre: false, ignSlope: false, + ignSkiTouring: false, }, switzerland: { swisstopoSlope: false, diff --git a/website/src/locales/en.json b/website/src/locales/en.json index 59a24609..0ad095e8 100644 --- a/website/src/locales/en.json +++ b/website/src/locales/en.json @@ -158,6 +158,7 @@ "swisstopoMountainBike": "swisstopo MTB", "ignFrCadastre": "IGN Cadastre", "ignSlope": "IGN Slope", + "ignSkiTouring": "IGN Ski Touring", "waymarked_trails": "Waymarked Trails", "waymarkedTrailsHiking": "Hiking", "waymarkedTrailsCycling": "Cycling",