Skip to content

Commit 10a3447

Browse files
author
farfromrefuge
committed
fix: disposeNativeView handle
1 parent 04ffd54 commit 10a3447

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ui-carto/ui/index.common.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,11 @@ export abstract class CartoViewBase extends ContentView {
165165
}
166166
}
167167

168+
disposeNativeView() {
169+
this.mapReady = false;
170+
super.disposeNativeView()
171+
}
172+
168173
[focusPosProperty.setNative](value: MapPos) {
169174
if (!this.nativeViewProtected || !this.nativeProjection) {
170175
return;

0 commit comments

Comments
 (0)