code: function(map) {
          var tileQueue = this.tileQueue[map.id];
          var limit = this.tilesPerFrame;
          var animating = map.zoomTween && map.zoomTween.playing;
          while (!animating && tileQueue.length && limit) {
              tileQueue.shift().draw(true);
              --limit;
          }
      }
docs: Method: drawTilesFromQueue
  Draws tiles from the tileQueue, and unqueues the tiles