From c46a8254c46acb0da3719e20e99c87b11e998da2 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 22 Oct 2015 13:11:25 -0700 Subject: [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. --- test/fixtures/api/annotation.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/fixtures/api/annotation.json (limited to 'test/fixtures') 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" +} -- cgit v1.2.1