summaryrefslogtreecommitdiff
path: root/test/fixtures/offline/style.json
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/offline/style.json')
-rw-r--r--test/fixtures/offline/style.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/test/fixtures/offline/style.json b/test/fixtures/offline/style.json
new file mode 100644
index 0000000000..c34ee59893
--- /dev/null
+++ b/test/fixtures/offline/style.json
@@ -0,0 +1,41 @@
+{
+ "version": 8,
+ "name": "Water",
+ "sources": {
+ "mapbox": {
+ "type": "vector",
+ "url": "http://127.0.0.1:3000/offline/streets.json"
+ }
+ },
+ "glyphs": "http://127.0.0.1:3000/offline/{fontstack}/{range}.pbf",
+ "sprite": "http://127.0.0.1:3000/offline/sprite",
+ "layers": [{
+ "id": "background",
+ "type": "background",
+ "paint": {
+ "background-color": "red"
+ }
+ }, {
+ "id": "water",
+ "type": "fill",
+ "source": "mapbox",
+ "source-layer": "water",
+ "paint": {
+ "fill-pattern": "noise"
+ }
+ }, {
+ "id": "admin",
+ "type": "symbol",
+ "source": "mapbox",
+ "source-layer": "admin",
+ "layout": {
+ "text-font": ["Helvetica"],
+ "text-field": "Text"
+ },
+ "paint": {
+ "text-color": "black",
+ "text-halo-color": "white",
+ "text-halo-width": 2
+ }
+ }]
+}