Files
MapLibreParticleLab/metrics/integration/query-tests/circle-radius/property-function/style.json
2023-03-25 14:46:49 +01:00

63 lines
1.1 KiB
JSON

{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64,
"queryGeometry": [
32,
16
]
}
},
"sources": {
"mapbox": {
"type": "geojson",
"data": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"radius": 20
},
"geometry": {
"type": "Point",
"coordinates": [
0,
0
]
}
},
{
"type": "Feature",
"properties": {
"radius": 5
},
"geometry": {
"type": "Point",
"coordinates": [
5,
15
]
}
}
]
}
}
},
"layers": [
{
"id": "circle",
"type": "circle",
"source": "mapbox",
"paint": {
"circle-radius": {
"type": "identity",
"property": "radius"
}
}
}
]
}