code: function(evt) {
          var layer = evt.object;
          var tileQueue = this.tileQueue[layer.map.id];
          for (var i=tileQueue.length-1; i>=0; --i) {
              if (tileQueue[i].layer === layer) {
                  tileQueue.splice(i, 1);
              }
          }
      }
docs: Method: clearTileQueue
  Clears the tile queue from tiles of a specific layer
  
  Parameters:
  evt - {Object} Listener argument of the layer's retile event