Files
MapLibreParticleLab/metrics/integration/render-tests/text-font/chinese/style.json
2023-03-25 14:46:49 +01:00

45 lines
782 B
JSON

{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512,
"allowed": 0.0003
}
},
"center": [
-70.752954126,
43.39004898677380
],
"zoom": 11,
"sources": {
"geojson": {
"type": "geojson",
"data": "local://data/chinese.geojson"
}
},
"sprite": "local://sprites/sprite",
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "icon",
"type": "symbol",
"source": "geojson",
"layout": {
"text-field": "{name}",
"text-font": [
"NotoCJK"
],
"symbol-placement": "point"
}
}
]
}