mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
fix: keep clear control alive when map controls are initialized
This commit is contained in:
1 parent
4a3f53bfcd
commit
648041e040
2 files changed
+1
-1
No files matched your search
@@ -3331,7 +3331,6 @@ export class StyleManager {
|
||||
_initMapStackControl() {
|
||||
if (!this.mapStackController) return;
|
||||
this._mapSourceControls?.destroy();
|
||||
this._clearLayersControl?.destroy();
|
||||
this._mapSourceControls = createMapSourceControls({
|
||||
container: this._mapStackChips,
|
||||
statusElement: this._mapStackStatus,
|
||||
|
||||
Reference in new issue
Block a user