diff options
Diffstat (limited to 'test/fixtures/style_parser/function-string-bool-enum.style.json')
-rw-r--r-- | test/fixtures/style_parser/function-string-bool-enum.style.json | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/test/fixtures/style_parser/function-string-bool-enum.style.json b/test/fixtures/style_parser/function-string-bool-enum.style.json new file mode 100644 index 0000000000..c38f195259 --- /dev/null +++ b/test/fixtures/style_parser/function-string-bool-enum.style.json @@ -0,0 +1,43 @@ +{ + "version": 6, + "sources": { + "mapbox": { + "type": "vector", + "url": "mapbox://mapbox.mapbox-terrain-v1,mapbox.mapbox-streets-v5", + "maxzoom": 14 + } + }, + "layers": [{ + "id": "waterway_river_canal", + "type": "line", + "source": "mapbox", + "source-layer": "waterway", + "filter": ["in", "type", "river", "canal"], + "layout": { + "line-cap": { + "stops": [[0, "round"], [10, "round"]] + } + }, + "paint": { + "line-translate-anchor": { + "stops": [[0, "map"], [10, "viewport"]] + } + } + }, + { + "id": "label", + "type": "symbol", + "source": "mapbox", + "source-layer": "waterway", + "layout": { + "text-font": { + "stops": [[0, "Open Sans Regular"]] + }, + "text-keep-upright": { + "stops": [[0, false], [10, true]] + } + }, + "paint": { + } + }] +} |