mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
fix: improve mapped installations and map-source guidance (#183)
Improve mapped installation recovery, deselection, retry feedback, and visual-style and map-source guidance.
This commit is contained in:
1 parent
3b6b3f1007
commit
759652207f
25 files changed
+479
-41
No files matched your search
@@ -4661,9 +4661,9 @@ export class StyleManager {
|
||||
const searched = await militaryInstallationsLayer.searchNearby?.();
|
||||
if (searched === false) return false;
|
||||
const stats = militaryInstallationsLayer.getStats?.();
|
||||
this._showToast(stats?.status === 'zoom-in'
|
||||
this._showToast(stats?.statusMessage || (stats?.status === 'zoom-in'
|
||||
? 'Zoom in to search mapped installations'
|
||||
: 'Nearby installations refreshed');
|
||||
: 'Nearby installations refreshed'));
|
||||
return true;
|
||||
}, 'Nearby installations could not be refreshed; try again').finally(() => {
|
||||
button.disabled = false;
|
||||
|
||||
Reference in new issue
Block a user