diff options
Diffstat (limited to 'include/mbgl')
-rw-r--r-- | include/mbgl/map/map.hpp | 2 | ||||
-rw-r--r-- | include/mbgl/map/update.hpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 6e24d177a9..e35a738d63 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -73,7 +73,7 @@ public: void nudgeTransitions(bool forceRerender); // Notifies the Map thread that the state has changed and an update might be necessary. - void update(Update update = Update::Nothing); + void update(Update update); // Styling void addClass(const std::string&); diff --git a/include/mbgl/map/update.hpp b/include/mbgl/map/update.hpp index d2d6133bc2..d5978d80b6 100644 --- a/include/mbgl/map/update.hpp +++ b/include/mbgl/map/update.hpp @@ -14,6 +14,7 @@ enum class Update : UpdateType { Classes = 1 << 3, Zoom = 1 << 4, RenderStill = 1 << 5, + Repaint = 1 << 6, }; } |