disposeInternal implementation for ol.Map
This commit is contained in:
1 parent
936584ceaa
commit
dc491f9114
1 file changed
+10
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user