diff --git a/src/ol/source/Tile.js b/src/ol/source/Tile.js index 3eda3a99c0..9ea34b0ea7 100644 --- a/src/ol/source/Tile.js +++ b/src/ol/source/Tile.js @@ -78,7 +78,7 @@ class TileSource extends Source { const canUseScreen = 'screen ' in self; const width = canUseScreen ? (screen.availWidth || screen.width) : 1920; const height = canUseScreen ? (screen.availHeight || screen.height) : 1080; - cacheSize = 2 * Math.ceil(width / tileSize[0]) * Math.ceil(height / tileSize[1]); + cacheSize = 4 * Math.ceil(width / tileSize[0]) * Math.ceil(height / tileSize[1]); } /**