60 lines
1.1 KiB
JSON
60 lines
1.1 KiB
JSON
{
|
|
"version": 8,
|
|
"metadata": {
|
|
"test": {
|
|
"width": 64,
|
|
"height": 64
|
|
}
|
|
},
|
|
"sources": {
|
|
"geojson": {
|
|
"type": "geojson",
|
|
"data": {
|
|
"type": "FeatureCollection",
|
|
"features": [
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"width": 4
|
|
},
|
|
"geometry": {
|
|
"type": "Point",
|
|
"coordinates": [
|
|
-10,
|
|
0
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"width": 7
|
|
},
|
|
"geometry": {
|
|
"type": "Point",
|
|
"coordinates": [
|
|
10,
|
|
0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"layers": [
|
|
{
|
|
"id": "circle",
|
|
"type": "circle",
|
|
"source": "geojson",
|
|
"paint": {
|
|
"circle-color": "#fff",
|
|
"circle-stroke-width": {
|
|
"type": "identity",
|
|
"property": "width"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|