From 486bdddb23c93572c29068a229041b2575f383e8 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Tue, 13 Sep 2016 18:32:45 -0700 Subject: [core] Add interface to add sprites to the style Unlike annotations, they will go away when we change the style. --- include/mbgl/map/map.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/mbgl/map') diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 6c478c17f0..914c2cd0b3 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -161,6 +161,10 @@ public: void addLayer(std::unique_ptr, const optional& beforeLayerID = {}); void removeLayer(const std::string& layerID); + // Add image, bound to the style + void addImage(const std::string&, std::unique_ptr); + void removeImage(const std::string&); + // Defaults std::string getStyleName() const; LatLng getDefaultLatLng() const; -- cgit v1.2.1