summaryrefslogtreecommitdiff
path: root/src/mbgl/map
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-08-30 12:43:46 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-09-06 14:29:22 -0700
commit8e2170c8855456258de8ffd49d22a621b95e9fb2 (patch)
tree505c4eba02f5b9e237cf44984d8078c3a13e8414 /src/mbgl/map
parent6c23a6a095097c457c896dfeb1a3005a4f618f41 (diff)
downloadqtlocation-mapboxgl-8e2170c8855456258de8ffd49d22a621b95e9fb2.tar.gz
[core] Batch source updates
Diffstat (limited to 'src/mbgl/map')
-rw-r--r--src/mbgl/map/map.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp
index fe0be15b87..9e18e67f3a 100644
--- a/src/mbgl/map/map.cpp
+++ b/src/mbgl/map/map.cpp
@@ -212,6 +212,10 @@ void Map::Impl::update() {
annotationManager->updateData();
}
+ if (updateFlags & Update::Layout) {
+ style->relayout();
+ }
+
if (updateFlags & Update::Classes) {
style->cascade(timePoint, mode);
}