From 4d3356dc1e1239d8f4fb985d2f584a403aea8521 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Fri, 16 Sep 2016 17:02:43 -0700 Subject: [tests] Add tests for Map::[add|remove]Image --- test/fixtures/api/icon_style.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 test/fixtures/api/icon_style.json (limited to 'test/fixtures/api') diff --git a/test/fixtures/api/icon_style.json b/test/fixtures/api/icon_style.json new file mode 100644 index 0000000000..17d41c6b68 --- /dev/null +++ b/test/fixtures/api/icon_style.json @@ -0,0 +1,25 @@ +{ + "version": 8, + "sources": { + "geojson": { + "type": "geojson", + "data": { + "type": "Point", + "coordinates": [ + 0, + 0 + ] + } + } + }, + "layers": [ + { + "id": "symbol", + "type": "symbol", + "source": "geojson", + "layout": { + "icon-image": "test-icon" + } + } + ] +} -- cgit v1.2.1