Merge pull request #7327 from tschaub/tile-management
Prune the tile cache after updating a source's URL
This commit is contained in:
@@ -239,7 +239,7 @@ ol.renderer.Layer.prototype.manageTilePyramid = function(
|
||||
var tileQueue = frameState.tileQueue;
|
||||
var minZoom = tileGrid.getMinZoom();
|
||||
var tile, tileRange, tileResolution, x, y, z;
|
||||
for (z = currentZ; z >= minZoom; --z) {
|
||||
for (z = minZoom; z <= currentZ; ++z) {
|
||||
tileRange = tileGrid.getTileRangeForExtentAndZ(extent, z, tileRange);
|
||||
tileResolution = tileGrid.getResolution(z);
|
||||
for (x = tileRange.minX; x <= tileRange.maxX; ++x) {
|
||||
|
||||
Reference in New Issue
Block a user