diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-09-21 13:15:58 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-09-28 14:10:23 -0700 |
commit | af392b9434fd176704e564dfc22ee74f3a50cdf6 (patch) | |
tree | c3c333a4729a18c660b4edd68adeb801c779721e /include | |
parent | 24a58344284ca8c882bf2ab83b9129ca8ce9d4b3 (diff) | |
download | qtlocation-mapboxgl-af392b9434fd176704e564dfc22ee74f3a50cdf6.tar.gz |
Rewrite annotation invalidation strategy
First, move style mutation code out of StyleParser and into AnnotationManager,
coalescing it with the mutation code for shape layers.
Second, allow AnnotationManager to keep track of stale tiles entirely
internally. There's no reason to pass sets of TileIDs around.
Third, correct the logic for invalidating the shape source. Since
AnnotationManager does not track shape invalidations on a tile-by-tile basis,
don't try to invalidate the shape source tile-by-tile.
Fixes #1675
Fixes #2322
Fixes #2095
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/map/update.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mbgl/map/update.hpp b/include/mbgl/map/update.hpp index fe9250efcf..83c2637559 100644 --- a/include/mbgl/map/update.hpp +++ b/include/mbgl/map/update.hpp @@ -13,6 +13,7 @@ enum class Update : uint32_t { Zoom = 1 << 4, RenderStill = 1 << 5, Repaint = 1 << 6, + Annotations = 1 << 7, }; inline Update operator| (const Update& lhs, const Update& rhs) { |