summaryrefslogtreecommitdiff
path: root/src/mbgl/style/style.hpp
diff options
context:
space:
mode:
authorAnsis Brammanis <brammanis@gmail.com>2015-02-02 14:46:48 -0800
committerAnsis Brammanis <brammanis@gmail.com>2015-02-02 14:46:48 -0800
commitd532824aec25e20efccb80860b990db0b85780ac (patch)
tree4210723832ad827f188bddf384c30d46d5819cb8 /src/mbgl/style/style.hpp
parent47966a143176a337733fe63b4121d2d00c48359a (diff)
downloadqtlocation-mapboxgl-d532824aec25e20efccb80860b990db0b85780ac.tar.gz
implement functions for patterns
It introduces a new function type, FadedStopsFunction, that transitions between the stops values instead of interpolating between them.
Diffstat (limited to 'src/mbgl/style/style.hpp')
-rw-r--r--src/mbgl/style/style.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/style/style.hpp b/src/mbgl/style/style.hpp
index e9205712ef..434b394217 100644
--- a/src/mbgl/style/style.hpp
+++ b/src/mbgl/style/style.hpp
@@ -3,6 +3,7 @@
#include <mbgl/style/property_transition.hpp>
#include <mbgl/style/style_source.hpp>
+#include <mbgl/style/zoom_history.hpp>
#include <mbgl/util/time.hpp>
#include <mbgl/util/uv.hpp>
@@ -49,6 +50,7 @@ private:
PropertyTransition defaultTransition;
bool initial_render_complete = false;
std::unique_ptr<uv::rwlock> mtx;
+ ZoomHistory zoomHistory;
};
}