Remove map renderer element when disposing

This commit is contained in:
Andreas Hocevar committed 2019-12-08 17:52:28 +01:00
1 parent 5f6ea987a5
commit cefc57622b
1 file changed
+1
+1
View File
@@ -74,6 +74,7 @@ class CompositeMapRenderer extends MapRenderer {
disposeInternal() {
unlistenByKey(this.labelCacheKey_);
this.element_.parentNode.removeChild(this.element_);
super.disposeInternal();
}