Files
JWE/kat/styles/ortho-jwe.json
T

143 lines
3.4 KiB
JSON
Raw Normal View History

2024-02-04 23:59:02 +01:00
{
"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>"
},
"cadastre": {
"type": "vector",
"url": "https://openmaptiles.geo.data.gouv.fr/data/cadastre.json"
},
"decoupage-administratif": {
"type": "vector",
"url": "https://tiles.jwe.ovh/data/decoupage-administratif.json"
}
},
"layers": [
{
"id": "simple-tiles",
"type": "raster",
"source": "raster-tiles"
},
{
"id": "communes",
"type": "line",
"source": "decoupage-administratif",
"source-layer": "communes",
"minzoom": 2,
"layout": {
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "#ffffff",
"line-width": {
"base": 1.4,
"stops": [
[
4,
0.4
],
[
5,
1
],
[
12,
3
]
]
}
}
},
{
"id": "departements",
"type": "line",
"source": "decoupage-administratif",
"source-layer": "departements",
"maxzoom":9,
"layout": {
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "hsl(248, 7%, 66%)",
"line-dasharray": [
3,
1,
1,
1
],
"line-width": {
"base": 1.4,
"stops": [
[
0,
0.6
],
[
4,
1.4
],
[
5,
2
],
[
12,
8
]
]
}
}
},
{
"id": "regions",
"type": "line",
"source": "decoupage-administratif",
"source-layer": "regions",
"maxzoom":5,
"layout": {
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "hsl(248, 7%, 70%)",
"line-dasharray": [
3,
1,
1,
1
],
"line-width": {
"base": 1.6,
"stops": [
[
0,
0.6
],
[
4,
1.4
],
[
5,
2
],
[
12,
8
]
]
}
}
}
]
}