small change that avoids flickering of the level size estimation table when panning around

This commit is contained in:
Javier Abadia 2014-04-07 16:23:45 +02:00
parent d2ad9eae83
commit 2d717a002a

View File

@ -502,9 +502,9 @@ require(
var totalEstimation = { tileCount:0, sizeBytes:0 }
domConstruct.empty('tile-count-table-body');
basemapLayer.estimateTileSize(function(tileSize){
basemapLayer.estimateTileSize(function(tileSize)
{
domConstruct.empty('tile-count-table-body');
for(var level=minLevel; level<=maxLevel; level++)
{