Files
2023-03-25 14:46:49 +01:00

74 lines
1.3 KiB
JSON

{
"version": 8,
"metadata": {
"test": {
"width": 64,
"height": 64,
"operations": [
[
"setLayoutProperty",
"symbol",
"icon-rotate",
{
"type": "identity",
"property": "rotate"
}
],
[
"wait"
]
]
}
},
"transition": {
"duration": 0
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"rotate": -45
},
"geometry": {
"type": "Point",
"coordinates": [
-10,
0
]
}
},
{
"type": "Feature",
"properties": {
"rotate": 45
},
"geometry": {
"type": "Point",
"coordinates": [
10,
0
]
}
}
]
}
}
},
"sprite": "local://sprites/sprite",
"layers": [
{
"id": "symbol",
"type": "symbol",
"source": "geojson",
"layout": {
"icon-image": "oneway"
}
}
]
}