diff options
Diffstat (limited to 'src/mbgl/style/style.hpp')
-rw-r--r-- | src/mbgl/style/style.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/style/style.hpp b/src/mbgl/style/style.hpp index 2875311c63..1da22b8cf3 100644 --- a/src/mbgl/style/style.hpp +++ b/src/mbgl/style/style.hpp @@ -64,11 +64,14 @@ public: return lastError; } + std::vector<const Source*> getSources() const; + std::vector<Source*> getSources(); Source* getSource(const std::string& id) const; void addSource(std::unique_ptr<Source>); std::unique_ptr<Source> removeSource(const std::string& sourceID); std::vector<const Layer*> getLayers() const; + std::vector<Layer*> getLayers(); Layer* getLayer(const std::string& id) const; Layer* addLayer(std::unique_ptr<Layer>, optional<std::string> beforeLayerID = {}); |