diff options
Diffstat (limited to 'test/fixtures')
-rw-r--r-- | test/fixtures/style_parser/stops-array.info.json | 7 | ||||
-rw-r--r-- | test/fixtures/style_parser/stops-array.style.json | 22 |
2 files changed, 29 insertions, 0 deletions
diff --git a/test/fixtures/style_parser/stops-array.info.json b/test/fixtures/style_parser/stops-array.info.json new file mode 100644 index 0000000000..3324958c85 --- /dev/null +++ b/test/fixtures/style_parser/stops-array.info.json @@ -0,0 +1,7 @@ +{ + "default": { + "log": [ + [1, "WARNING", "ParseStyle", "stops function must specify a stops array"] + ] + } +} diff --git a/test/fixtures/style_parser/stops-array.style.json b/test/fixtures/style_parser/stops-array.style.json new file mode 100644 index 0000000000..67a2f83b07 --- /dev/null +++ b/test/fixtures/style_parser/stops-array.style.json @@ -0,0 +1,22 @@ +{ + "version": 3, + "sources": { + "mapbox": { + "type": "vector", + "url": "mapbox://mapbox.mapbox-terrain-v1,mapbox.mapbox-streets-v5", + "maxZoom": 14 + } + }, + "layers": [{ + "id": "waterway_river_canal", + "source": "mapbox", + "source-layer": "waterway", + "filter": { "type": ["river", "canal"] }, + "type": "line", + "style": { + "line-width": { + "stops": null + } + } + }] +} |