Co-authored-by: Bart Louwers <bart@emeel.net> Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
67 lines
1.2 KiB
JSON
67 lines
1.2 KiB
JSON
{
|
|
"version": 8,
|
|
"metadata": {
|
|
"test": {
|
|
"height": 256,
|
|
"source-replace": [{
|
|
"replace": "maplibre",
|
|
"with": "mlt"
|
|
}]
|
|
}
|
|
},
|
|
"center": [
|
|
13.418056,
|
|
52.499167
|
|
],
|
|
"zoom": 14,
|
|
"sources": {
|
|
"maplibre": {
|
|
"type": "vector",
|
|
"maxzoom": 14,
|
|
"tiles": [
|
|
"local://tiles/{z}-{x}-{y}.mvt"
|
|
]
|
|
},
|
|
"mlt": {
|
|
"type": "vector",
|
|
"maxzoom": 14,
|
|
"tiles": [
|
|
"local://tiles/{z}-{x}-{y}.mlt"
|
|
],
|
|
"encoding": "mlt"
|
|
}
|
|
},
|
|
"sprite": "local://sprites/sprite",
|
|
"layers": [
|
|
{
|
|
"id": "background",
|
|
"type": "background",
|
|
"paint": {
|
|
"background-color": "white"
|
|
}
|
|
},
|
|
{
|
|
"id": "icon-visible",
|
|
"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",
|
|
"icon-rotation-alignment": "viewport",
|
|
"visibility": "visible"
|
|
},
|
|
"paint": {
|
|
"icon-opacity": 1
|
|
}
|
|
}
|
|
]
|
|
}
|