73 lines
2.0 KiB
JSON
73 lines
2.0 KiB
JSON
{
|
|
"version": 8,
|
|
"metadata": {
|
|
"test": {
|
|
"width": 128,
|
|
"height": 128
|
|
}
|
|
},
|
|
"sources": {
|
|
"geojson": {
|
|
"type": "geojson",
|
|
"data": {
|
|
"type": "FeatureCollection",
|
|
"features": [
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"name": "देवनागरी"
|
|
},
|
|
"geometry": {
|
|
"type": "Point",
|
|
"coordinates": [
|
|
0,
|
|
-15
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"name": "سلام۳۹"
|
|
},
|
|
"geometry": {
|
|
"type": "Point",
|
|
"coordinates": [
|
|
0,
|
|
15
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
|
|
"layers": [
|
|
{
|
|
"id": "background",
|
|
"type": "background",
|
|
"paint": {
|
|
"background-color": "white"
|
|
}
|
|
},
|
|
{
|
|
"id": "symbol",
|
|
"type": "symbol",
|
|
"source": "geojson",
|
|
"layout": {
|
|
"symbol-placement": "point",
|
|
"text-field": ["case",
|
|
["is-supported-script", ["get", "name"]],
|
|
["get", "name"],
|
|
"Not renderable"
|
|
],
|
|
"text-font": [
|
|
"Open Sans Semibold",
|
|
"Arial Unicode MS Bold"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|