expire cache for tileGrid projection
This commit is contained in:
1 parent
f4134b873b
commit
4a80ebe1fc
1 file changed
+1
-1
@@ -503,7 +503,7 @@ class WebGLTileLayerRenderer extends WebGLLayerRenderer {
|
||||
* @param {import("../../PluggableMap.js").FrameState} frameState Frame state.
|
||||
*/
|
||||
const postRenderFunction = function (map, frameState) {
|
||||
tileSource.expireCache(tileSource.getProjection(), empty);
|
||||
tileSource.expireCache(frameState.viewState.projection, empty);
|
||||
};
|
||||
|
||||
frameState.postRenderFunctions.push(postRenderFunction);
|
||||
|
||||
Reference in new issue
Block a user