Make tile loading count no longer depend on source count

This commit is contained in:
Andreas Hocevar
2016-02-05 09:38:16 +01:00
parent 57c5632de2
commit 3f36e0967f
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;