diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2014-07-09 17:18:36 -0700 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2014-07-09 17:18:36 -0700 |
commit | 98a415416a35bb4a2c834361391b8855a0bca644 (patch) | |
tree | 9bd2dc4251258a213a162c3a77dad61630c62b1e /include/llmr/style/style.hpp | |
parent | e66ed8fea417ae3d81c676264e09e4526c018ebf (diff) | |
download | qtlocation-mapboxgl-98a415416a35bb4a2c834361391b8855a0bca644.tar.gz |
move to per-map access token
Diffstat (limited to 'include/llmr/style/style.hpp')
-rw-r--r-- | include/llmr/style/style.hpp | 4 |
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; |