49 lines
869 B
JSON
49 lines
869 B
JSON
{
|
|
"version": 8,
|
|
"metadata": {
|
|
"test": {
|
|
"collisionDebug": true,
|
|
"width": 500,
|
|
"height": 500,
|
|
"allowed": 0.005
|
|
}
|
|
},
|
|
"center": [
|
|
0,
|
|
0
|
|
],
|
|
"zoom": 3,
|
|
"pitch": 60,
|
|
"bearing": 90,
|
|
"sources": {
|
|
"geojson": {
|
|
"type": "geojson",
|
|
"data": "local://data/places.geojson"
|
|
}
|
|
},
|
|
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
|
|
"sprite": "local://sprites/sprite",
|
|
"layers": [
|
|
{
|
|
"id": "background",
|
|
"type": "background",
|
|
"paint": {
|
|
"background-color": "white"
|
|
}
|
|
},
|
|
{
|
|
"id": "symbol",
|
|
"type": "symbol",
|
|
"source": "geojson",
|
|
"layout": {
|
|
"symbol-placement": "point",
|
|
"text-field": "test test test",
|
|
"text-font": [
|
|
"Open Sans Semibold",
|
|
"Arial Unicode MS Bold"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|