Files
MapLibreParticleLab/metrics/integration/render-tests/icon-image/property-function/style.json
2023-03-25 14:46:49 +01:00

60 lines
1.1 KiB
JSON

{
"version": 8,
"metadata": {
"test": {
"height": 64,
"width": 64
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"image": "bank-12"
},
"geometry": {
"type": "Point",
"coordinates": [
0,
-10
]
}
},
{
"type": "Feature",
"properties": {
"image": "bakery-12"
},
"geometry": {
"type": "Point",
"coordinates": [
0,
10
]
}
}
]
}
}
},
"sprite": "local://sprites/sprite",
"layers": [
{
"id": "text",
"type": "symbol",
"source": "geojson",
"layout": {
"icon-image": {
"type": "identity",
"property": "image"
}
}
}
]
}