Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[core] No need to manually set Update::Classes flag after annotation …
Browse files Browse the repository at this point in the history
…update

Since the advent of the runtime styling APIs, the APIs used by AnnotationManager::updateStyle will automatically set this flag as needed.
  • Loading branch information
jfirebaugh committed May 3, 2017
1 parent 1e26d99 commit b8b9978
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mbgl/map/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b8b9978

Please sign in to comment.