diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/map/map.hpp | 4 | ||||
-rw-r--r-- | include/mbgl/map/update.hpp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 82aef65b65..6e24d177a9 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -84,6 +84,10 @@ public: void setDefaultTransitionDuration(const Duration& = Duration::zero()); Duration getDefaultTransitionDuration() const; + + void setDefaultTransitionDelay(const Duration& = Duration::zero()); + Duration getDefaultTransitionDelay() const; + void setStyleURL(const std::string& url); void setStyleJSON(const std::string& json, const std::string& base = ""); std::string getStyleURL() const; diff --git a/include/mbgl/map/update.hpp b/include/mbgl/map/update.hpp index 40cc1bc2bc..d2d6133bc2 100644 --- a/include/mbgl/map/update.hpp +++ b/include/mbgl/map/update.hpp @@ -10,7 +10,7 @@ using UpdateType = uint32_t; enum class Update : UpdateType { Nothing = 0, Dimensions = 1 << 1, - DefaultTransitionDuration = 1 << 2, + DefaultTransition = 1 << 2, Classes = 1 << 3, Zoom = 1 << 4, RenderStill = 1 << 5, |