summaryrefslogtreecommitdiff
path: root/test/fixtures/map/online/style.json
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2020-02-15 12:33:31 +0200
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2020-02-17 10:14:05 +0200
commitd0dfd40b0abe32615d33f867f5b07f8d490e146e (patch)
treef899b398ec6da5bb11c0ba2991cd26f24ecc0117 /test/fixtures/map/online/style.json
parentb97f40469b6f3d386ae93bc9a23722ff017162f0 (diff)
downloadqtlocation-mapboxgl-d0dfd40b0abe32615d33f867f5b07f8d490e146e.tar.gz
[core] Add unit test for Style::Impl::onSpriteLoaded
Diffstat (limited to 'test/fixtures/map/online/style.json')
-rw-r--r--test/fixtures/map/online/style.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/test/fixtures/map/online/style.json b/test/fixtures/map/online/style.json
new file mode 100644
index 0000000000..9543c477aa
--- /dev/null
+++ b/test/fixtures/map/online/style.json
@@ -0,0 +1,27 @@
+{
+ "version": 8,
+ "name": "Water",
+ "sources": {
+ "mapbox": {
+ "type": "vector",
+ "url": "http://127.0.0.1:3000/online/streets.json"
+ }
+ },
+ "sprite": "http://127.0.0.1:3000/online/sprite",
+ "layers": [{
+ "id": "background",
+ "type": "background",
+ "paint": {
+ "background-color": "red"
+ }
+ }, {
+ "id": "water",
+ "type": "fill",
+ "source": "mapbox",
+ "source-layer": "water",
+ "paint": {
+ "fill-pattern": "noise",
+ "fill-antialias": false
+ }
+ }]
+}