Merge pull request #4794 from ahocevar/fixed-tileloading

Make tile loading count no longer depend on source count
This commit is contained in:
Andreas Hocevar
2016-02-16 15:51:55 +01:00
4 changed files with 0 additions and 8 deletions

View File

@@ -298,7 +298,6 @@ ol.renderer.Layer.prototype.manageTilePyramid = function(
var tileSourceKey = goog.getUid(tileSource).toString();
if (!(tileSourceKey in frameState.wantedTiles)) {
frameState.wantedTiles[tileSourceKey] = {};
++frameState.tileSourceCount;
}
var wantedTiles = frameState.wantedTiles[tileSourceKey];
var tileQueue = frameState.tileQueue;