Properly clear and refresh reprojected sources

This commit is contained in:
Andreas Hocevar
2022-08-18 22:31:15 +02:00
parent dfacb39c1a
commit 2ac6ccd31e
2 changed files with 38 additions and 0 deletions

View File

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