summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-10-22 13:11:25 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-10-22 15:27:53 -0700
commitc46a8254c46acb0da3719e20e99c87b11e998da2 (patch)
tree635f8c3e3d878ff3e025a8175a3509a1ec4d6df7 /test/fixtures
parent4f509288b7c671db96555a24a4f490311adfc13a (diff)
downloadqtlocation-mapboxgl-c46a8254c46acb0da3719e20e99c87b11e998da2.tar.gz
[core] Style-sourced shape annotation properties
This introduces the possibility to source the type and style properties of a shape annotation from a designated layer in the style.
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/api/annotation.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/fixtures/api/annotation.json b/test/fixtures/api/annotation.json
new file mode 100644
index 0000000000..75fcfca41f
--- /dev/null
+++ b/test/fixtures/api/annotation.json
@@ -0,0 +1,19 @@
+{
+ "version": 8,
+ "sources": {
+ "fake": {
+ "type": "vector",
+ "url": "asset://TEST_DATA/fixtures/tiles/streets.json"
+ }
+ },
+ "layers": [{
+ "id": "annotation",
+ "type": "fill",
+ "source": "fake",
+ "source-layer": "fake",
+ "paint": {
+ "fill-color": "rgba(255,0,0,1)"
+ }
+ }],
+ "sprite": "asset://TEST_DATA/fixtures/resources/sprite"
+}