Remove the viewport on map dispose
This commit is contained in:
1 parent
44de935ef0
commit
263f5bb8ab
1 file changed
+1
-1
+1
-1
@@ -593,7 +593,7 @@ ol.Map.prototype.disposeInternal = function() {
|
||||
goog.global.cancelAnimationFrame(this.animationDelayKey_);
|
||||
this.animationDelayKey_ = undefined;
|
||||
}
|
||||
goog.dom.removeNode(this.viewport_);
|
||||
this.setTarget(null);
|
||||
goog.base(this, 'disposeInternal');
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user