60 lines
1.1 KiB
JSON
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"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|