diff --git a/src/ol/tilequeue.js b/src/ol/tilequeue.js index 68da9ed5fa..5da58713fc 100644 --- a/src/ol/tilequeue.js +++ b/src/ol/tilequeue.js @@ -76,6 +76,8 @@ ol.TileQueue.prototype.handleTileChange = function(event) { var state = tile.getState(); if (state === ol.TileState.LOADED || state === ol.TileState.ERROR || state === ol.TileState.EMPTY) { + goog.events.unlisten(tile, goog.events.EventType.CHANGE, + this.handleTileChange, false, this); --this.tilesLoading_; this.tileChangeCallback_(); }