debug tiles: clear on a timer rather than at the end of the requests

This commit is contained in:
Jon Atkins
2014-03-02 01:33:22 +00:00
parent 0a506d3027
commit b173f778a5
2 changed files with 25 additions and 12 deletions

View File

@ -323,7 +323,6 @@ window.MapDataRequest.prototype.processRequestQueue = function(isFirstPass) {
if (Object.keys(this.queuedTiles).length == 0) {
this.render.endRenderPass();
this.debugTiles.removeOkTiles();
var endTime = new Date().getTime();
var duration = (endTime - this.refreshStartTime)/1000;