summaryrefslogtreecommitdiff
path: root/include/llmr/style/style.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/llmr/style/style.hpp')
-rw-r--r--include/llmr/style/style.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llmr/style/style.hpp b/include/llmr/style/style.hpp
index 37a50485ba..cfaba1898c 100644
--- a/include/llmr/style/style.hpp
+++ b/include/llmr/style/style.hpp
@@ -16,6 +16,7 @@
namespace llmr {
+class Map;
class Sprite;
class Source;
class StyleLayer;
@@ -27,7 +28,7 @@ public:
struct exception : std::runtime_error { exception(const char *msg) : std::runtime_error(msg) {} };
public:
- Style();
+ Style(Map &map);
void loadJSON(const uint8_t *const data);
@@ -63,6 +64,7 @@ private:
private:
+ Map ↦
std::set<std::shared_ptr<Source>> activeSources;
PropertyTransition defaultTransition;
bool initial_render_complete = false;