From b8b9978b69c5e35de83efc0143141da695338240 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 2 May 2017 10:32:38 -0700 Subject: [PATCH] [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. --- src/mbgl/map/map.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp index fdd580907..493c7378c 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) {