Files
MapLibreParticleLab/metrics/integration/render-tests/feature-state/vector-source/style.json
NithinAashikPS b81de15587 Fix incomplete feature state updates in GeometryTile and SourceFeatureState [Vector Tile Layer]. (#3406)
Co-authored-by: nithin.aashik <nithin.aashik@mapmyindia.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2025-06-05 21:44:22 +00:00

65 lines
1.0 KiB
JSON

{
"version": 8,
"metadata": {
"test": {
"height": 256,
"operations": [
[
"setFeatureState",
{
"source": "maplibre",
"sourceLayer": "poi_label",
"id": "1000059876748"
},
{
"color": "red"
}
],
[
"wait"
]
]
}
},
"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": "poi_layer",
"type": "circle",
"source": "maplibre",
"source-layer": "poi_label",
"paint": {
"circle-radius": 5,
"circle-color": [
"coalesce",
[
"feature-state",
"color"
],
"black"
]
}
}
]
}