Files
MapLibreParticleLab/metrics/integration/render-tests/text-max-width/literal/style.json

53 lines
1000 B
JSON

{
"version": 8,
"metadata": {
"test": {
"height": 256
}
},
"sources": {
"maplibre": {
"type": "geojson",
"data": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
]
}
}
},
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": {
"background-color": "white"
}
},
{
"id": "literal",
"type": "symbol",
"source": "maplibre",
"layout": {
"text-field": "For every fact there is an infinity of hypotheses.",
"text-font": [
"Open Sans Semibold",
"Arial Unicode MS Bold"
],
"text-max-width": 7
}
}
]
}