Merge pull request #13997 from tschaub/stop-caching
Avoid append only cache in WebGL tile layers
This commit is contained in:
@@ -674,6 +674,7 @@ class WebGLTileLayerRenderer extends WebGLLayerRenderer {
|
||||
* @param {import("../../Map.js").FrameState} frameState Frame state.
|
||||
*/
|
||||
const postRenderFunction = function (map, frameState) {
|
||||
tileSource.updateCacheSize(0.1, frameState.viewState.projection);
|
||||
tileSource.expireCache(frameState.viewState.projection, empty);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user