diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/map/map.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 0c14600c75..10153c54e3 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -157,11 +157,13 @@ public: void removeAnnotation(AnnotationID); // Sources + std::vector<style::Source*> getSources(); style::Source* getSource(const std::string& sourceID); void addSource(std::unique_ptr<style::Source>); std::unique_ptr<style::Source> removeSource(const std::string& sourceID); // Layers + std::vector<style::Layer*> getLayers(); style::Layer* getLayer(const std::string& layerID); void addLayer(std::unique_ptr<style::Layer>, const optional<std::string>& beforeLayerID = {}); std::unique_ptr<style::Layer> removeLayer(const std::string& layerID); |