Files
MapLibreParticleLab/metrics/integration/render-tests/extent/1024-symbol/style.json
Tim Sylvester 29428dce42 Add support for parsing MLT-format vector tile sources (#3246)
Co-authored-by: Bart Louwers <bart@emeel.net>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2025-10-31 17:24:12 -07:00

64 lines
1.2 KiB
JSON

{
"version": 8,
"metadata": {
"test": {
"allowed": 0.003,
"source-replace": [
{
"replace": "maplibre",
"with": "mlt"
}
]
}
},
"center": [
0,
0
],
"sprite": "local://sprites/sprite",
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"zoom": 0,
"sources": {
"maplibre": {
"type": "vector",
"maxzoom": 14,
"tiles": [
"local://tiles/extent1024-14-8802-5374.mvt"
]
},
"mlt": {
"type": "vector",
"maxzoom": 14,
"tiles": [
"local://tiles/extent1024-14-8802-5374.mlt"
],
"encoding": "mlt"
}
},
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "maplibre",
"type": "symbol",
"source": "maplibre",
"source-layer": "poi_label",
"layout": {
"icon-image": "dog-park-12",
"text-field": "maplibre",
"text-font": [
"Open Sans Semibold",
"Arial Unicode MS Bold"
],
"text-allow-overlap": true,
"text-ignore-placement": true
}
}
]
}