summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2015-08-02 22:07:55 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2015-08-05 15:19:00 +0300
commit492bcf0bd7eb62f3aedb148e103dd8ea9cb851ca (patch)
tree961634ca6b6dbcab65a2f9d49d7373aa5e994be7 /include
parent58357b7964fcc44cbb824da64225fe58bb3d3dd1 (diff)
downloadqtlocation-mapboxgl-492bcf0bd7eb62f3aedb148e103dd8ea9cb851ca.tar.gz
Added Update::Repaint
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map.hpp2
-rw-r--r--include/mbgl/map/update.hpp1
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,
};
}