160 lines
3.3 KiB
JSON
160 lines
3.3 KiB
JSON
{
|
|
"version": 8,
|
|
"metadata": {
|
|
"test": {
|
|
"height": 512
|
|
}
|
|
},
|
|
"sources": {
|
|
"rect": {
|
|
"type": "geojson",
|
|
"data": {
|
|
"type": "FeatureCollection",
|
|
"features": [
|
|
{
|
|
"type": "Feature",
|
|
"properties": {},
|
|
"geometry": {
|
|
"type": "Polygon",
|
|
"coordinates": [[
|
|
[ -0.0004, -0.0004 ],
|
|
[ -0.0004, 0.0000 ],
|
|
[ 0.0004, 0.0004 ],
|
|
[ 0.0004, -0.0000 ],
|
|
[ -0.0004, -0.0004 ]
|
|
]]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"geojson": {
|
|
"type": "geojson",
|
|
"data": {
|
|
"type": "FeatureCollection",
|
|
"features": [
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"property": 30
|
|
},
|
|
"geometry": {
|
|
"type": "Polygon",
|
|
"coordinates": [
|
|
[
|
|
[
|
|
-0.0003,
|
|
-0.0003
|
|
],
|
|
[
|
|
-0.0003,
|
|
0.0003
|
|
],
|
|
[
|
|
0.0003,
|
|
0.0003
|
|
],
|
|
[
|
|
0.0003,
|
|
-0.0003
|
|
],
|
|
[
|
|
-0.0003,
|
|
-0.0003
|
|
]
|
|
]
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"property": 20
|
|
},
|
|
"geometry": {
|
|
"type": "Polygon",
|
|
"coordinates": [
|
|
[
|
|
[
|
|
-0.0002,
|
|
0
|
|
],
|
|
[
|
|
0,
|
|
0.0002
|
|
],
|
|
[
|
|
0.0002,
|
|
0
|
|
],
|
|
[
|
|
0,
|
|
-0.0002
|
|
],
|
|
[
|
|
-0.0002,
|
|
0
|
|
]
|
|
]
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"property": 10
|
|
},
|
|
"geometry": {
|
|
"type": "Polygon",
|
|
"coordinates": [
|
|
[
|
|
[
|
|
-0.0001,
|
|
-0.0001
|
|
],
|
|
[
|
|
-0.0001,
|
|
0.0001
|
|
],
|
|
[
|
|
0.0001,
|
|
0.0001
|
|
],
|
|
[
|
|
0.0001,
|
|
-0.0001
|
|
],
|
|
[
|
|
-0.0001,
|
|
-0.0001
|
|
]
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"pitch": 60,
|
|
"zoom": 18,
|
|
"layers": [
|
|
{
|
|
"id": "rect",
|
|
"type": "fill",
|
|
"source": "rect",
|
|
"paint": {
|
|
"fill-color": "rgba(0,255,255,1)"
|
|
}
|
|
},
|
|
{
|
|
"id": "extrusion",
|
|
"type": "fill-extrusion",
|
|
"source": "geojson",
|
|
"paint": {
|
|
"fill-extrusion-height": 30
|
|
}
|
|
}
|
|
]
|
|
}
|