disposeInternal implementation for ol.Map

This commit is contained in:
Éric Lemoine
2012-10-10 20:24:18 +02:00
parent 936584ceaa
commit dc491f9114

View File

@@ -290,6 +290,16 @@ ol.Map.prototype.canRotate = function() {
};
/**
*
* @inheritDoc
*/
ol.Map.prototype.disposeInternal = function() {
goog.base(this, 'disposeInternal');
goog.dom.removeNode(this.viewport_);
};
/**
* @param {ol.Extent} extent Extent.
*/