summaryrefslogtreecommitdiff
path: root/include/llmr/map/map.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/llmr/map/map.hpp')
-rw-r--r--include/llmr/map/map.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llmr/map/map.hpp b/include/llmr/map/map.hpp
index defc1bef1f..a1c9842fbb 100644
--- a/include/llmr/map/map.hpp
+++ b/include/llmr/map/map.hpp
@@ -52,6 +52,7 @@ public:
void resize(uint16_t width, uint16_t height, float ratio, uint16_t fb_width, uint16_t fb_height);
// Styling
+ const std::set<std::shared_ptr<Source>> getActiveSources() const;
void setAppliedClasses(const std::vector<std::string> &classes);
void toggleClass(const std::string &name);
const std::vector<std::string> &getAppliedClasses() const;
@@ -123,6 +124,9 @@ private:
// Setup
void setup();
+ void updateSources();
+ void updateSources(const std::shared_ptr<StyleLayerGroup> &group);
+
void updateTiles();
void updateRenderState();
@@ -175,6 +179,8 @@ private:
int indent = 0;
+ std::set<std::shared_ptr<Source>> activeSources;
+
private:
bool async = false;
std::shared_ptr<uv::loop> loop;