From 2d717a002a380b5e4cc60cd8ba4e543b942b7f7d Mon Sep 17 00:00:00 2001 From: Javier Abadia Date: Mon, 7 Apr 2014 16:23:45 +0200 Subject: [PATCH] small change that avoids flickering of the level size estimation table when panning around --- samples/tiles-indexed-db.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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++) {