Add Map settings toggle to show/hide live air traffic
Add a "Map settings" popover (gear button) on the Overview Live map with a "Show live air traffic" switch, backed by a new client-side showAirTraffic preference (default on, persisted in localStorage and synced like other prefs). When off, the aircraft overlay clears and polling pauses to save OpenSky credits; the count badge and caption reflect the hidden state. Toggling on re-fetches immediately. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
a578555b43
commit
fee171a71f
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+20
File diff suppressed because one or more lines are too long
-20
File diff suppressed because one or more lines are too long
Vendored
+2
-2
@@ -35,8 +35,8 @@
|
||||
})()
|
||||
</script>
|
||||
<title>PilotVault — Control Panel</title>
|
||||
<script type="module" crossorigin src="./assets/index-uk1cBykG.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-CoIRbg0g.css">
|
||||
<script type="module" crossorigin src="./assets/index-Dk_VY0uv.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-Bvd5MzZB.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
Reference in New Issue
Block a user