70 lines
1.1 KiB
JSON
70 lines
1.1 KiB
JSON
{
|
|
"version": 8,
|
|
"metadata": {
|
|
"test": {
|
|
"height": 256
|
|
}
|
|
},
|
|
"center": [
|
|
13.418056,
|
|
52.499167
|
|
],
|
|
"zoom": 14,
|
|
"sources": {
|
|
"maplibre": {
|
|
"type": "vector",
|
|
"maxzoom": 14,
|
|
"tiles": [
|
|
"local://tiles/{z}-{x}-{y}.mvt"
|
|
]
|
|
}
|
|
},
|
|
"layers": [
|
|
{
|
|
"id": "background",
|
|
"type": "background",
|
|
"paint": {
|
|
"background-color": "white"
|
|
}
|
|
},
|
|
{
|
|
"id": "road",
|
|
"type": "line",
|
|
"source": "maplibre",
|
|
"source-layer": "road",
|
|
"paint": {
|
|
"line-offset": {
|
|
"property": "class",
|
|
"type": "categorical",
|
|
"stops": [
|
|
[
|
|
"path",
|
|
1
|
|
],
|
|
[
|
|
"driveway",
|
|
2
|
|
],
|
|
[
|
|
"service",
|
|
3
|
|
],
|
|
[
|
|
"street_limited",
|
|
4
|
|
],
|
|
[
|
|
"street",
|
|
5
|
|
],
|
|
[
|
|
"main",
|
|
6
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|