mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
fix(maps): settle failed recovery and update registry QA
This commit is contained in:
1 parent
06c73bca98
commit
8024813792
4 files changed
+145
-300
No files matched your search
@@ -714,6 +714,14 @@ try {
|
||||
if (controller.googleTileset) controller.googleTileset.show = false;
|
||||
controller.googleTileset = null;
|
||||
controller.cesiumToken = '';
|
||||
// Availability is now composed in the source registry. Override only
|
||||
// this fixture's choices, as the previous token-field seam did.
|
||||
for (const source of controller._sources.values()) {
|
||||
if (source.descriptor.requiresIon || source.descriptor.kind === 'photoreal') {
|
||||
source.available = false;
|
||||
}
|
||||
}
|
||||
controller._registry.state.hasCesiumIonToken = false;
|
||||
await styleManager._setMapStack('osm', { syncShare: false });
|
||||
styleManager._initMapStackControl();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user