summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-04-20 17:10:33 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-05-02 08:45:09 -0700
commit197751bace6181f2c2dbe4c890f277a0dc7e58b1 (patch)
tree55e57a6a1d86d1db26f24d3d58694f69518cbd97 /test/fixtures
parentc2b00378b78b55d50968a9b11ed75bb4edf62ec9 (diff)
downloadqtlocation-mapboxgl-197751bace6181f2c2dbe4c890f277a0dc7e58b1.tar.gz
[core] Load source TileJSON immediately
This reverses #3095. Rationale: * We're now exposing source attributes as a public API. Making those attributes unavailable at certain times complicates that API. * We're preparing to split RenderSource out of Source. Removing this removes a point of coupling between the two.
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/api/annotation.json2
-rw-r--r--test/fixtures/api/query_style.json4
-rw-r--r--test/fixtures/api/water.json2
3 files changed, 4 insertions, 4 deletions
diff --git a/test/fixtures/api/annotation.json b/test/fixtures/api/annotation.json
index ab83d43476..972b22fc4d 100644
--- a/test/fixtures/api/annotation.json
+++ b/test/fixtures/api/annotation.json
@@ -3,7 +3,7 @@
"sources": {
"fake": {
"type": "vector",
- "url": "fake"
+ "tiles": ["fake"]
}
},
"layers": [{
diff --git a/test/fixtures/api/query_style.json b/test/fixtures/api/query_style.json
index 97f1d04432..2e499c383d 100644
--- a/test/fixtures/api/query_style.json
+++ b/test/fixtures/api/query_style.json
@@ -53,11 +53,11 @@
},
"source5": {
"type": "vector",
- "url": "mapbox://mapbox.mapbox-streets-v6"
+ "tiles": ["fake"]
},
"source6": {
"type": "raster",
- "url": "mapbox://mapbox.satellite",
+ "tiles": ["fake"],
"tileSize": 256
}
},
diff --git a/test/fixtures/api/water.json b/test/fixtures/api/water.json
index 387471b842..0a563a4955 100644
--- a/test/fixtures/api/water.json
+++ b/test/fixtures/api/water.json
@@ -4,7 +4,7 @@
"sources": {
"mapbox": {
"type": "vector",
- "url": "asset://streets.json"
+ "tiles": ["asset://streets/{z}-{x}-{y}.vector.pbf"]
}
},
"layers": [{