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

50 lines
1.1 KiB
JSON

{
"version": 8,
"metadata": {
"test": {
"width": 128,
"height": 256,
"collisionDebug": true
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
},
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "symbol",
"type": "symbol",
"source": "geojson",
"layout": {
"text-field": "Test",
"text-font": [
"Open Sans Semibold",
"Arial Unicode MS Bold"
],
"text-rotate": 45,
"text-offset": [
3,
6
]
}
}
]
}