diff options
Diffstat (limited to 'test/fixtures/api')
-rw-r--r-- | test/fixtures/api/assets/streets_missing_tiles.json | 14 | ||||
-rw-r--r-- | test/fixtures/api/water_missing_tiles.json | 25 |
2 files changed, 39 insertions, 0 deletions
diff --git a/test/fixtures/api/assets/streets_missing_tiles.json b/test/fixtures/api/assets/streets_missing_tiles.json new file mode 100644 index 0000000000..671665caeb --- /dev/null +++ b/test/fixtures/api/assets/streets_missing_tiles.json @@ -0,0 +1,14 @@ +{ + "bounds": [ -180, -85.0511, 180, 85.0511 ], + "center": [ 0, 0, 0 ], + "description": "", + "format": "pbf", + "id": "streets", + "maskLevel": 8, + "maxzoom": 15, + "minzoom": 0, + "name": "Streets", + "scheme": "xyz", + "tilejson": "2.0.0", + "tiles": [ "http://127.0.0.1:3001/{z}-{x}-{y}.vector.pbf" ] +} diff --git a/test/fixtures/api/water_missing_tiles.json b/test/fixtures/api/water_missing_tiles.json new file mode 100644 index 0000000000..c9ed77318d --- /dev/null +++ b/test/fixtures/api/water_missing_tiles.json @@ -0,0 +1,25 @@ +{ + "version": 8, + "name": "Water", + "sources": { + "mapbox": { + "type": "vector", + "url": "asset://streets_missing_tiles.json" + } + }, + "layers": [{ + "id": "background", + "type": "background", + "paint": { + "background-color": "red" + } + }, { + "id": "water", + "type": "fill", + "source": "mapbox", + "source-layer": "water", + "paint": { + "fill-color": "blue" + } + }] +} |