Mark all low resolution tiles as used to prevent cache expiration

This commit is contained in:
Tom Payne
2013-02-21 16:14:51 +01:00
parent 57b446fa0a
commit 47e799ced0
4 changed files with 26 additions and 0 deletions

View File

@@ -217,6 +217,7 @@ ol.renderer.dom.TileLayer.prototype.renderFrame =
}
this.updateUsedTiles(frameState.usedTiles, tileSource, z, tileRange);
this.useLowResolutionTiles(tileSource, z, frameState.extent);
this.scheduleExpireCache(frameState, tileSource);
};