44 lines
840 B
JSON
44 lines
840 B
JSON
{
|
|
"version": 8,
|
|
"metadata": {
|
|
"test": {
|
|
"width": 64,
|
|
"height": 64,
|
|
"description": "Tests that zero text-size values are properly handled.",
|
|
"operations": [
|
|
["wait"],
|
|
["setZoom", 18]
|
|
]
|
|
}
|
|
},
|
|
"sources": {
|
|
"geojson": {
|
|
"type": "geojson",
|
|
"data": {
|
|
"type": "Point",
|
|
"coordinates": [
|
|
0,
|
|
0
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
|
|
"zoom": 17,
|
|
"layers": [
|
|
{
|
|
"id": "symbol",
|
|
"type": "symbol",
|
|
"source": "geojson",
|
|
"layout": {
|
|
"text-size": ["interpolate",["linear"],["zoom"],17.0,0.0,18.0,10.0,22.0,12.5],
|
|
"text-field": "ABC",
|
|
"text-font": [
|
|
"Open Sans Semibold",
|
|
"Arial Unicode MS Bold"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|