Add IGNF Scan25 baselayer (requires key) (#643)
This commit is contained in:
parent
72a92eb156
commit
91a03f312c
5 changed files with 24 additions and 0 deletions
|
|
@ -89,6 +89,7 @@ BR.LayersConfig = L.Class.extend({
|
||||||
|
|
||||||
BR.layerIndex['ignf-aerial'].geometry = BR.confLayers.franceBbox;
|
BR.layerIndex['ignf-aerial'].geometry = BR.confLayers.franceBbox;
|
||||||
BR.layerIndex['ignf-map'].geometry = BR.confLayers.franceBbox;
|
BR.layerIndex['ignf-map'].geometry = BR.confLayers.franceBbox;
|
||||||
|
BR.layerIndex['ignf-scan25'].geometry = BR.confLayers.franceBbox;
|
||||||
},
|
},
|
||||||
|
|
||||||
_addLanguageDefaultLayer: function () {
|
_addLanguageDefaultLayer: function () {
|
||||||
|
|
|
||||||
|
|
@ -19,5 +19,8 @@
|
||||||
|
|
||||||
// Mapillary, https://www.mapillary.com/dashboard/developers
|
// Mapillary, https://www.mapillary.com/dashboard/developers
|
||||||
mapillary: ``,
|
mapillary: ``,
|
||||||
|
|
||||||
|
// IGN France (for Scan25 base layer), https://geoservices.ign.fr/services-web-issus-des-scans-ign
|
||||||
|
ignf: '',
|
||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|
|
||||||
|
|
@ -160,6 +160,10 @@ BR.confLayers.getPropertyOverrides = function() {
|
||||||
'mapUrl': 'https://www.geoportail.gouv.fr/carte?c={lon},{lat}&z={zoom}&l0=GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2::GEOPORTAIL:OGC:WMTS(1)&permalink=yes',
|
'mapUrl': 'https://www.geoportail.gouv.fr/carte?c={lon},{lat}&z={zoom}&l0=GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2::GEOPORTAIL:OGC:WMTS(1)&permalink=yes',
|
||||||
'worldTiles': true // -z7
|
'worldTiles': true // -z7
|
||||||
},
|
},
|
||||||
|
'ignf-scan25': {
|
||||||
|
'country_code': 'FR',
|
||||||
|
'mapUrl': 'https://www.geoportail.gouv.fr/carte?c={lon},{lat}&z={zoom}&l0=GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN25TOUR::GEOPORTAIL:OGC:WMTS(1)&permalink=yes',
|
||||||
|
},
|
||||||
'OpenStreetMap-turistautak': {
|
'OpenStreetMap-turistautak': {
|
||||||
'nameShort': 'OSM Turistautak',
|
'nameShort': 'OSM Turistautak',
|
||||||
'mapUrl': 'https://turistautak.openstreetmap.hu/?zoom={zoom}&lat={lat}&lon={lon}&layers=0B00F'
|
'mapUrl': 'https://turistautak.openstreetmap.hu/?zoom={zoom}&lat={lat}&lon={lon}&layers=0B00F'
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,7 @@ BR.confLayers.tree = {
|
||||||
'FR': [
|
'FR': [
|
||||||
'ignf-aerial',
|
'ignf-aerial',
|
||||||
'ignf-map',
|
'ignf-map',
|
||||||
|
'ignf-scan25',
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
15
layers/extra/ignf-scan25.geojson
Normal file
15
layers/extra/ignf-scan25.geojson
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"geometry": null,
|
||||||
|
"properties": {
|
||||||
|
"attribution": {
|
||||||
|
"html": "© <a href='https://www.ign.fr/' target='_blank'>IGN</a>"
|
||||||
|
},
|
||||||
|
"id": "ignf-scan25",
|
||||||
|
"max_zoom": 21,
|
||||||
|
"name": "IGN France - Carte topographique (Scan25)",
|
||||||
|
"type": "tms",
|
||||||
|
"url": "https://wxs.ign.fr/{keys_ignf}/geoportail/wmts?LAYER=GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN25TOUR&EXCEPTIONS=text/xml&FORMAT=image/jpeg&SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}"
|
||||||
|
},
|
||||||
|
"type": "Feature"
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue