add more map layers

This commit is contained in:
nobohan 2021-06-14 22:33:21 +02:00
parent 0d2c86b52c
commit 90920d5870
2 changed files with 265 additions and 4 deletions

View File

@ -67,7 +67,142 @@ export const MAP_CONFIG = {
wms: true,
attribution: '© SPW'
},
{
name: "Carte des principaux types de sols",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/SOL_SOUS_SOL/CNSW__PRINC_TYPES_SOLS/MapServer/WMSServer?",
layers: '0',
wms: true,
attribution: '© SPW'
},
{
name: "Carte du dépôt de la guerre (1865 - 1880)",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/CARTES_ANCIENNES/DEPOT_GUERRE_1865_1880/MapServer/WMSServer?",
layers: '0',
wms: true,
attribution: '© SPW'
},
{
name: "Carte Ferraris (1770-1778)",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/CARTES_ANCIENNES/FERRARIS/MapServer/WMSServer?",
layers: '0',
wms: true,
attribution: '© SPW'
},
{
name: "Carte Vandermaelen (1846-1854)",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/CARTES_ANCIENNES/VDML/MapServer/WMSServer?",
layers: '0',
wms: true,
attribution: '© SPW'
},
{
name: "Hydrographie",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/EAU/RHW/MapServer/WMSServer?",
layers: ['1', '2', '3', '4', '5','6'],
wms: true,
attribution: '© SPW'
},
{
name: "Limites administratives",
maxZoom: 20,
layer: "//ccff02.minfin.fgov.be/geoservices/arcgis/services/INSPIRE/AU_wms/MapServer/WMSServer?",
layers: ['1', '2', '3', '4'],
wms: true,
attribution: '© CadGIS'
},
{
name: "Masque forestier",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/FORET/FORET/MapServer/WMSServer?",
layers: '0',
wms: true,
attribution: '© SPW'
},
{
name: "MNS (hauteur de la végétation)",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/RELIEF/WALLONIE_MNS_2013_2014_HILLSHADE/MapServer/WMSServer?",
layers: '0',
wms: true,
attribution: '© SPW'
},
{
name: "MNT (relief)",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/RELIEF/WALLONIE_MNT_2013_2014_HILLSHADE/MapServer/WMSServer?",
layers: '0',
wms: true,
attribution: '© SPW'
},
{
name: "Pentes (relief)",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/RELIEF/WALLONIE_MNP_CLASSE_2013_2014/MapServer/WMSServer?",
layers: '0',
wms: true,
attribution: '© SPW'
},
{
name: "Natura 2000",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/FAUNE_FLORE/NATURA2000/MapServer/WMSServer?",
layers: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10'],
wms: true,
attribution: '© SPW'
},
{
name: "Parcellaire agricole anonyme 2019",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/AGRICULTURE/SIGEC_PARC_AGRI_ANON__2019/MapServer/WMSServer?",
layers: '0',
wms: true,
attribution: '© SPW'
},
{
name: "PICC (topographie)",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/TOPOGRAPHIE/PICC_VDIFF/MapServer/WMSServer?",
layers: ['1', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29'],
wms: true,
attribution: '© SPW'
},
{
name: "Régions agricoles",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/LIMITES/LIMITES_REGIONSAGRICOLES/MapServer/WMSServer?",
layers: '0',
wms: true,
attribution: '© SPW'
},
{
name: "Voiries vicinales désaffectées (SNCB - SNCV)",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/MOBILITE/LIGNES_SNCB_SNCV_DESAFFECT/MapServer/WMSServer?",
layers: '0',
wms: true,
attribution: '© SPW'
},
{
name: "Carte d'occupation du sol",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/SOL_SOUS_SOL/WALOUS_OCCUPATION_SOL/MapServer/WMSServer?",
layers: '0',
wms: true,
attribution: '© SPW'
},
{
name: "Carte d'utilisation du sol",
maxZoom: 20,
layer: "//geoservices.wallonie.be/arcgis/services/SOL_SOUS_SOL/WALOUS_UTILISATION_SOL/MapServer/WMSServer?",
layers: '0',
wms: true,
attribution: '© SPW'
},
],
CENTER: [46.52863469527167, 2.43896484375],
ZOOM_LEVEL: 6,

View File

@ -72,11 +72,137 @@
minZoom: 8
}),
SOLS2: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/SOL_SOUS_SOL/CNSW__PRINC_TYPES_SOLS/MapServer/WMSServer?', {
attribution: '© SPW',
layers: '0',
format: 'image/png',
transparent: true,
}),
DEPOT_GUERRE: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/CARTES_ANCIENNES/DEPOT_GUERRE_1865_1880/MapServer/WMSServer?', {
attribution: '© SPW',
layers: '0',
format: 'image/png',
transparent: true,
}),
FERRARIS: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/CARTES_ANCIENNES/FERRARIS/MapServer/WMSServer?', {
attribution: '© SPW',
layers: '0',
format: 'image/png',
transparent: true,
}),
VDML: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/CARTES_ANCIENNES/VDML/MapServer/WMSServer?', {
attribution: '© SPW',
layers: '0',
format: 'image/png',
transparent: true,
}),
RHW: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/EAU/RHW/MapServer/WMSServer?', {
attribution: '© SPW',
layers: ['1', '2', '3', '4', '5','6'],
format: 'image/png',
transparent: true,
}),
LIMITES_COMMUNALES: L.tileLayer.wms('http://ccff02.minfin.fgov.be/geoservices/arcgis/services/INSPIRE/AU_wms/MapServer/WMSServer?', {
attribution: '© CadGIS',
layers: ['1', '2', '3', '4'],
format: 'image/png',
transparent: true,
}),
MASQUE_FORET: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/FORET/FORET/MapServer/WMSServer?', {
attribution: '© SPW',
layers: '0',
format: 'image/png',
transparent: true,
}),
MNS: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/RELIEF/WALLONIE_MNS_2013_2014_HILLSHADE/MapServer/WMSServer?', {
attribution: '© SPW',
layers: '0',
format: 'image/png',
transparent: true,
}),
MNT: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/RELIEF/WALLONIE_MNT_2013_2014_HILLSHADE/MapServer/WMSServer?', {
attribution: '© SPW',
layers: '0',
format: 'image/png',
transparent: true,
}),
PENTE: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/RELIEF/WALLONIE_MNP_CLASSE_2013_2014/MapServer/WMSServer?', {
attribution: '© SPW',
layers: '0',
format: 'image/png',
transparent: true,
}),
NATURA2000: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/FAUNE_FLORE/NATURA2000/MapServer/WMSServer?', {
attribution: '© SPW',
layers: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10'],
format: 'image/png',
transparent: true,
}),
PARC: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/AGRICULTURE/SIGEC_PARC_AGRI_ANON__2019/MapServer/WMSServer?', {
attribution: '© SPW',
layers: ['0', '1', '2'],
format: 'image/png',
transparent: true,
}),
PICC: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/TOPOGRAPHIE/PICC_VDIFF/MapServer/WMSServer?', {
attribution: '© SPW',
layers: ['1', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29'],
format: 'image/png',
transparent: true,
}),
REGION_AGRI: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/LIMITES/LIMITES_REGIONSAGRICOLES/MapServer/WMSServer?', {
attribution: '© SPW',
layers: '0',
format: 'image/png',
transparent: true,
}),
LIGNES_FER: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/MOBILITE/LIGNES_SNCB_SNCV_DESAFFECT/MapServer/WMSServer?', {
attribution: '© SPW',
layers: '0',
format: 'image/png',
transparent: true,
}),
WALOUS: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/SOL_SOUS_SOL/WALOUS_OCCUPATION_SOL/MapServer/WMSServer?', {
attribution: '© SPW',
layers: '0',
format: 'image/png',
transparent: true,
}),
WALOUS_USE: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/SOL_SOUS_SOL/WALOUS_UTILISATION_SOL/MapServer/WMSServer?', {
attribution: '© SPW',
layers: ['1', '3', '4', '5', '6', '7', '8', '9'],
format: 'image/png',
transparent: true,
}),
NITRATES: L.tileLayer.wms('https://geoservices.wallonie.be/arcgis/services/EAU/NITRATES/MapServer/WMSServer?', {
attribution: '© SPW',
layers: '0',
format: 'image/png',
transparent: true,
}),
//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}",
WMTS: L.tileLayer(