Merge pull request #14013 from ahocevar/clear-reprojected-source
Properly clear and refresh reprojected sources
This commit is contained in:
@@ -429,6 +429,13 @@ class TileImage extends UrlTile {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
clear() {
|
||||
super.clear();
|
||||
for (const id in this.tileCacheForProjection) {
|
||||
this.tileCacheForProjection[id].clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user