diff --git a/samples/tiles-indexed-db.html b/samples/tiles-indexed-db.html index a5951c6..85d5d11 100644 --- a/samples/tiles-indexed-db.html +++ b/samples/tiles-indexed-db.html @@ -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++) {