Remove map renderer element when disposing
This commit is contained in:
@@ -74,6 +74,7 @@ class CompositeMapRenderer extends MapRenderer {
|
|||||||
|
|
||||||
disposeInternal() {
|
disposeInternal() {
|
||||||
unlistenByKey(this.labelCacheKey_);
|
unlistenByKey(this.labelCacheKey_);
|
||||||
|
this.element_.parentNode.removeChild(this.element_);
|
||||||
super.disposeInternal();
|
super.disposeInternal();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user