60 lines
1.1 KiB
JSON
60 lines
1.1 KiB
JSON
{
|
|
"version": 8,
|
|
"metadata": {
|
|
"test": {
|
|
"height": 256,
|
|
"allowed": 0.0005
|
|
}
|
|
},
|
|
"center": [
|
|
13.417,
|
|
52.502
|
|
],
|
|
"zoom": 14,
|
|
"sources": {
|
|
"maplibre": {
|
|
"type": "vector",
|
|
"maxzoom": 14,
|
|
"tiles": [
|
|
"local://tiles/{z}-{x}-{y}.mvt"
|
|
]
|
|
}
|
|
},
|
|
"sprite": "local://sprites/icon-text-fit",
|
|
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
|
|
"layers": [
|
|
{
|
|
"id": "background",
|
|
"type": "background",
|
|
"paint": {
|
|
"background-color": "white"
|
|
}
|
|
},
|
|
{
|
|
"id": "road",
|
|
"type": "symbol",
|
|
"source": "maplibre",
|
|
"source-layer": "road_label",
|
|
"layout": {
|
|
"text-variable-anchor": ["left", "right", "bottom", "top"],
|
|
"text-field": "{name}",
|
|
"text-font": [
|
|
"Open Sans Semibold",
|
|
"Arial Unicode MS Bold"
|
|
],
|
|
"icon-image": "label",
|
|
"icon-text-fit": "both",
|
|
"icon-text-fit-padding": [
|
|
5,
|
|
10,
|
|
5,
|
|
10
|
|
]
|
|
},
|
|
"paint": {
|
|
"icon-opacity": 1
|
|
}
|
|
}
|
|
]
|
|
}
|