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
This commit is contained in:
@@ -63,10 +63,6 @@ public:
|
||||
callback_(error);
|
||||
}
|
||||
|
||||
void onSpriteStoreLoaded() override {
|
||||
// no-op
|
||||
}
|
||||
|
||||
private:
|
||||
MapData data_;
|
||||
Transform transform_;
|
||||
|
||||
Reference in New Issue
Block a user