Merge pull request #14013 from ahocevar/clear-reprojected-source

Properly clear and refresh reprojected sources
This commit is contained in:
Andreas Hocevar
2022-08-19 01:51:37 +02:00
committed by GitHub
2 changed files with 38 additions and 0 deletions

View File

@@ -429,6 +429,13 @@ class TileImage extends UrlTile {
}
}
}
clear() {
super.clear();
for (const id in this.tileCacheForProjection) {
this.tileCacheForProjection[id].clear();
}
}
}
/**