Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
70 lines
1.2 KiB
JSON
70 lines
1.2 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"
|
|
]
|
|
}
|
|
},
|
|
"sprite": "local://sprites/sprite",
|
|
"layers": [
|
|
{
|
|
"id": "background",
|
|
"type": "background",
|
|
"paint": {
|
|
"background-color": "white"
|
|
}
|
|
},
|
|
{
|
|
"id": "icon",
|
|
"type": "symbol",
|
|
"source": "maplibre",
|
|
"source-layer": "poi_label",
|
|
"filter": [
|
|
"==",
|
|
"maki",
|
|
"restaurant"
|
|
],
|
|
"layout": {
|
|
"symbol-placement": "point",
|
|
"icon-allow-overlap": true,
|
|
"icon-ignore-placement": true,
|
|
"icon-image": "{maki}-12"
|
|
},
|
|
"paint": {
|
|
"icon-translate": {
|
|
"stops": [
|
|
[
|
|
16,
|
|
[
|
|
15,
|
|
15
|
|
]
|
|
],
|
|
[
|
|
17,
|
|
[
|
|
20,
|
|
20
|
|
]
|
|
]
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|