purgeCacheAll method

void purgeCacheAll()

Purges all caches assigned to this MapModel. Use this if you changed the datastore which is backed by the renderer. If the datastore is used by other mapmodels too consider using the static purge() methods from FileTileBitmapCache and MemoryTileBitmapCache instead.

Implementation

void purgeCacheAll() {
  tileBitmapCache?.purgeAll();
  tileBitmapCacheFirstLevel.purgeAll();
}