Files
MapLibreParticleLab/metrics/integration/render-tests/heatmap-radius/data-expression/style.json
2023-03-25 14:46:49 +01:00

60 lines
1.1 KiB
JSON

{
"version": 8,
"metadata": {
"test": {
"height": 64,
"width": 64,
"description": "Contains two expected images (for ubyte-based rendering and half-float-based); one of them should pass depending on platform."
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"radius": 5
},
"geometry": {
"type": "Point",
"coordinates": [
-10,
0
]
}
},
{
"type": "Feature",
"properties": {
"radius": 10
},
"geometry": {
"type": "Point",
"coordinates": [
10,
0
]
}
}
]
}
}
},
"layers": [
{
"id": "heatmap",
"type": "heatmap",
"source": "geojson",
"paint": {
"heatmap-radius": [
"get",
"radius"
]
}
}
]
}