From 8d7b70dd2bc7ef5428c5cedfbc47b3482a55cd9b Mon Sep 17 00:00:00 2001 From: nobohan Date: Mon, 14 Jun 2021 10:34:32 +0200 Subject: [PATCH] add FORETANC layer --- patches/frontend/src/conf/map.config.ts | 9 +++++++++ sandbox/wmts/index.html | 17 +++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/patches/frontend/src/conf/map.config.ts b/patches/frontend/src/conf/map.config.ts index db4c236..abd9936 100644 --- a/patches/frontend/src/conf/map.config.ts +++ b/patches/frontend/src/conf/map.config.ts @@ -74,6 +74,15 @@ export const MAP_CONFIG = { wms: true, attribution: '© SPW' }, + { + name: "AnciennetĂ© des forĂȘts actuelles", + minZoom: 13, + maxZoom: 20, + layer: "//geoservices.wallonie.be/arcgis/services/FORET/FORETANC/MapServer/WMSServer?", + layers: '1', + wms: true, + attribution: '© SPW' + }, ], CENTER: [46.52863469527167, 2.43896484375], ZOOM_LEVEL: 6, diff --git a/sandbox/wmts/index.html b/sandbox/wmts/index.html index d89a7b9..8807d71 100644 --- a/sandbox/wmts/index.html +++ b/sandbox/wmts/index.html @@ -41,6 +41,23 @@ minZoom: 12 }), + ALEA: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/EAU/ALEA_INOND/MapServer/WMSServer?', { + attribution: '© SPW', + layers: ['1', '2'], + format: 'image/png', + transparent: true, + }), + + ANC_FORET: L.tileLayer.wms(' https://geoservices.wallonie.be/arcgis/services/FORET/FORETANC/MapServer/WMSServer?', { + attribution: '© SPW', + layers: '1', + format: 'image/png', + transparent: true, + minZoom: 13 + }), + + + //https://wxs.ign.fr/{apiKey}/geoportail/wmts?&REQUEST=GetTile&SERVICE=WMTS //&VERSION=1.0.0&STYLE=normal&TILEMATRIXSET=PM&FORMAT=image/jpeg //&LAYER={layerName}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}",