Clear queued tile keys when queue is cleared

This commit is contained in:
Tom Payne
2013-01-19 15:44:01 +01:00
parent 2bdfd3765b
commit 6507e71dd7

View File

@@ -78,6 +78,7 @@ ol.TileQueue.DROP = Infinity;
*/
ol.TileQueue.prototype.clear = function() {
goog.array.clear(this.heap_);
this.queuedTileKeys_ = {};
};