57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
|
|
{
|
||
|
|
"version": 8,
|
||
|
|
"glyphs":"https://wxs.ign.fr/static/vectorTiles/fonts/{fontstack}/{range}.pbf",
|
||
|
|
"sources": {
|
||
|
|
"raster-tiles": {
|
||
|
|
"type": "raster",
|
||
|
|
"tiles": [
|
||
|
|
"https://wxs.ign.fr/essentiels/geoportail/wmts?layer=ORTHOIMAGERY.ORTHOPHOTOS&style=normal&tilematrixset=PM&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fjpeg&TileMatrix={z}&TileCol={x}&TileRow={y}"
|
||
|
|
],
|
||
|
|
"tileSize": 256,
|
||
|
|
"attribution": "<a target='_blank' href='https://geoservices.ign.fr/documentation/donnees/ortho/bdortho'>© IGN</a>"
|
||
|
|
},
|
||
|
|
"kama": {
|
||
|
|
"type": "vector",
|
||
|
|
"url": "https://tiles.jwe.ovh/data/KAMA.json"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"layers": [
|
||
|
|
{
|
||
|
|
"id": "simple-tiles",
|
||
|
|
"type": "raster",
|
||
|
|
"source": "raster-tiles"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "boundary",
|
||
|
|
"type": "line",
|
||
|
|
"source": "kama",
|
||
|
|
"source-layer": "boundary",
|
||
|
|
"minzoom": 2,
|
||
|
|
"layout": {
|
||
|
|
"line-join": "round",
|
||
|
|
"visibility": "visible"
|
||
|
|
},
|
||
|
|
"paint": {
|
||
|
|
"line-color": "#ffffff",
|
||
|
|
"line-width": {
|
||
|
|
"base": 1.4,
|
||
|
|
"stops": [
|
||
|
|
[
|
||
|
|
4,
|
||
|
|
2
|
||
|
|
],
|
||
|
|
[
|
||
|
|
5,
|
||
|
|
1
|
||
|
|
],
|
||
|
|
[
|
||
|
|
12,
|
||
|
|
3
|
||
|
|
]
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|