Files
MapLibreParticleLab/metrics/integration/query-tests/symbol/inside/style.json
2023-03-25 14:46:49 +01:00

51 lines
971 B
JSON

{
"version": 8,
"metadata": {
"test": {
"collisionDebug": true,
"width": 500,
"height": 500,
"queryGeometry": [
266,
271
]
}
},
"center": [
-74.522,
39.92
],
"zoom": 7,
"sources": {
"us-counties": {
"type": "vector",
"maxzoom": 7,
"minzoom": 7,
"tiles": [
"local://tiles/counties-{z}-{x}-{y}.mvt"
]
}
},
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"sprite": "local://sprites/sprite",
"layers": [
{
"id": "counties",
"type": "symbol",
"source": "us-counties",
"source-layer": "counties",
"layout": {
"text-field": "{name}",
"text-size": 11,
"symbol-spacing": 60,
"text-max-angle": 1000,
"text-font": [
"Open Sans Semibold",
"Arial Unicode MS Bold"
],
"symbol-placement": "line"
},
"interactive": true
}
]
}