Keep track of tile source count
This commit is contained in:
committed by
Tim Schaub
parent
72ea0ecfd8
commit
0c23d9a7ff
@@ -298,6 +298,7 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user