summaryrefslogtreecommitdiff
path: root/src/mbgl/map
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-05-02 10:32:38 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-05-03 08:30:02 -0700
commitb8b9978b69c5e35de83efc0143141da695338240 (patch)
treedc513c28f93c89da08a2a873592ae724272c243f /src/mbgl/map
parent1e26d99e1e6eeca6aee1c2407cad76832d9efa40 (diff)
downloadqtlocation-mapboxgl-b8b9978b69c5e35de83efc0143141da695338240.tar.gz
[core] No need to manually set Update::Classes flag after annotation update
Since the advent of the runtime styling APIs, the APIs used by AnnotationManager::updateStyle will automatically set this flag as needed.
Diffstat (limited to 'src/mbgl/map')
-rw-r--r--src/mbgl/map/map.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp
index fdd5809070..493c7378cd 100644
--- a/src/mbgl/map/map.cpp
+++ b/src/mbgl/map/map.cpp
@@ -235,7 +235,6 @@ void Map::Impl::render(View& view) {
if (style->loaded && updateFlags & Update::AnnotationStyle) {
annotationManager->updateStyle(*style);
- updateFlags |= Update::Classes;
}
if (updateFlags & Update::AnnotationData) {