diff options
Diffstat (limited to 'test/fixtures/style_parser/font_stacks.json')
-rw-r--r-- | test/fixtures/style_parser/font_stacks.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/test/fixtures/style_parser/font_stacks.json b/test/fixtures/style_parser/font_stacks.json new file mode 100644 index 0000000000..07fe223d46 --- /dev/null +++ b/test/fixtures/style_parser/font_stacks.json @@ -0,0 +1,38 @@ +{ + "version": 8, + "sources": { + "source": { + "type": "vector", + "tiles": [] + } + }, + "layers": [{ + "id": "a", + "type": "symbol", + "source": "source", + "source-layer": "source-layer", + "layout": { + "text-font": ["a"] + } + }, { + "id": "a,b", + "type": "symbol", + "source": "source", + "source-layer": "source-layer", + "layout": { + "text-font": { + "stops": [[0, ["a", "b"]]] + } + } + }, { + "id": "a,b;a,b,c", + "type": "symbol", + "source": "source", + "source-layer": "source-layer", + "layout": { + "text-font": { + "stops": [[0, ["a", "b"]], [1, ["a", "b", "c"]]] + } + } + }] +} |