93 lines
1.5 KiB
JSON
93 lines
1.5 KiB
JSON
{
|
|
"version": 8,
|
|
"metadata": {
|
|
"test": {
|
|
"width": 64,
|
|
"height": 64
|
|
}
|
|
},
|
|
"sources": {
|
|
"a": {
|
|
"type": "geojson",
|
|
"data": {
|
|
"type": "LineString",
|
|
"coordinates": [
|
|
[
|
|
-10,
|
|
-10
|
|
],
|
|
[
|
|
10,
|
|
-10
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"b": {
|
|
"type": "geojson",
|
|
"data": {
|
|
"type": "LineString",
|
|
"coordinates": [
|
|
[
|
|
-10,
|
|
0
|
|
],
|
|
[
|
|
10,
|
|
0
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"c": {
|
|
"type": "geojson",
|
|
"data": {
|
|
"type": "LineString",
|
|
"coordinates": [
|
|
[
|
|
-10,
|
|
10
|
|
],
|
|
[
|
|
10,
|
|
10
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"sprite": "local://sprites/emerald",
|
|
"layers": [
|
|
{
|
|
"id": "a",
|
|
"type": "line",
|
|
"source": "a",
|
|
"paint": {
|
|
"line-width": 2,
|
|
"line-dasharray": [2, 4],
|
|
"line-pattern": "generic_icon"
|
|
}
|
|
},
|
|
{
|
|
"id": "b",
|
|
"type": "line",
|
|
"source": "b",
|
|
"paint": {
|
|
"line-width": 4,
|
|
"line-dasharray": [2, 4],
|
|
"line-pattern": "generic_icon"
|
|
}
|
|
},
|
|
{
|
|
"id": "c",
|
|
"type": "line",
|
|
"source": "c",
|
|
"paint": {
|
|
"line-width": 8,
|
|
"line-dasharray": [2, 4],
|
|
"line-pattern": "generic_icon"
|
|
}
|
|
}
|
|
]
|
|
}
|