mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-01 08:12:32 +00:00
add ign fr plan layer
This commit is contained in:
@@ -127,7 +127,24 @@ export const basemaps: { [key: string]: string | Style; } = {
|
|||||||
source: 'ignBe',
|
source: 'ignBe',
|
||||||
}],
|
}],
|
||||||
},
|
},
|
||||||
ignFrPlan: 'https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/classique.json',
|
ignFrPlan: {
|
||||||
|
version: 8,
|
||||||
|
sources: {
|
||||||
|
ignFrPlan: {
|
||||||
|
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=GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2&FORMAT=image/png&STYLE=normal'],
|
||||||
|
tileSize: 256,
|
||||||
|
maxzoom: 19,
|
||||||
|
attribution: 'IGN-F/Géoportail'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
layers: [{
|
||||||
|
id: 'ignFrPlan',
|
||||||
|
type: 'raster',
|
||||||
|
source: 'ignFrPlan',
|
||||||
|
}],
|
||||||
|
},
|
||||||
|
ignFrTopo: 'https://data.geopf.fr/annexes/ressources/vectorTiles/styles/PLAN.IGN/classique.json',
|
||||||
ignFrScan25: {
|
ignFrScan25: {
|
||||||
version: 8,
|
version: 8,
|
||||||
sources: {
|
sources: {
|
||||||
@@ -511,6 +528,7 @@ export const basemapTree: LayerTreeType = {
|
|||||||
},
|
},
|
||||||
france: {
|
france: {
|
||||||
ignFrPlan: true,
|
ignFrPlan: true,
|
||||||
|
ignFrTopo: true,
|
||||||
ignFrScan25: true,
|
ignFrScan25: true,
|
||||||
ignFrSatellite: true,
|
ignFrSatellite: true,
|
||||||
},
|
},
|
||||||
@@ -746,6 +764,7 @@ export const defaultBasemapTree: LayerTreeType = {
|
|||||||
},
|
},
|
||||||
france: {
|
france: {
|
||||||
ignFrPlan: false,
|
ignFrPlan: false,
|
||||||
|
ignFrTopo: false,
|
||||||
ignFrScan25: false,
|
ignFrScan25: false,
|
||||||
ignFrSatellite: false,
|
ignFrSatellite: false,
|
||||||
},
|
},
|
||||||
|
@@ -256,6 +256,7 @@
|
|||||||
"swisstopoSatellite": "swisstopo Satellite",
|
"swisstopoSatellite": "swisstopo Satellite",
|
||||||
"ignBe": "IGN Topo",
|
"ignBe": "IGN Topo",
|
||||||
"ignFrPlan": "IGN Plan",
|
"ignFrPlan": "IGN Plan",
|
||||||
|
"ignFrTopo": "IGN Topo",
|
||||||
"ignFrScan25": "IGN SCAN25",
|
"ignFrScan25": "IGN SCAN25",
|
||||||
"ignFrSatellite": "IGN Satellite",
|
"ignFrSatellite": "IGN Satellite",
|
||||||
"ignEs": "IGN",
|
"ignEs": "IGN",
|
||||||
|
Reference in New Issue
Block a user