diff options
Diffstat (limited to 'src/mbgl/style/source_impl.hpp')
-rw-r--r-- | src/mbgl/style/source_impl.hpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mbgl/style/source_impl.hpp b/src/mbgl/style/source_impl.hpp index 14ed9cd01c..a4dd48444e 100644 --- a/src/mbgl/style/source_impl.hpp +++ b/src/mbgl/style/source_impl.hpp @@ -43,11 +43,17 @@ public: virtual void loadDescription(FileSource&) = 0; bool isLoaded() const; - // Called when the camera has changed or icons or glyphs are loaded. May load new - // tiles, unload obsolete tiles, and trigger further parsing of incomplete tiles or - // re-placement of existing complete tiles. + // Called when the camera has changed. May load new tiles, unload obsolete tiles, or + // trigger re-placement of existing complete tiles. void updateTiles(const UpdateParameters&); + // Called when icons or glyphs are loaded. Triggers further processing of tiles which + // were waiting on such dependencies. + void updateSymbolDependentTiles(); + + // Removes all tiles (by putting them into the cache). + void removeTiles(); + // Request that all loaded tiles re-run the layout operation on the existing source // data with fresh style information. void reloadTiles(); |