disposeInternal implementation for ol.control.Control
This commit is contained in:
@@ -49,6 +49,14 @@ ol.control.Control = function(controlOptions) {
|
|||||||
goog.inherits(ol.control.Control, goog.Disposable);
|
goog.inherits(ol.control.Control, goog.Disposable);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @inheritDoc
|
||||||
|
*/
|
||||||
|
ol.control.Control.prototype.disposeInternal = function() {
|
||||||
|
goog.dom.removeNode(this.element);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {ol.Map} Map.
|
* @return {ol.Map} Map.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user