mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
Fix satellite ground track to show full orbit
- Fix property name mismatch: backend returns 'track' but index.html expected 'orbitTrack' - Start position updates when a pass is selected (was never called) - Fetch position immediately on pass selection for instant orbit display - Dashboard: always show full orbit track, not just when no pass selected 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1385,9 +1385,8 @@
|
||||
satMarker = L.marker([pos.lat, pos.lon], { icon: satIcon }).addTo(groundMap);
|
||||
}
|
||||
|
||||
// Only update orbit track if no pass is selected
|
||||
// When a pass is selected, keep showing that pass's ground track
|
||||
if (selectedPass === null && pos.track && groundMap) {
|
||||
// Always show full orbit track from position data
|
||||
if (pos.track && groundMap) {
|
||||
if (orbitTrack) groundMap.removeLayer(orbitTrack);
|
||||
if (trackLine) groundMap.removeLayer(trackLine);
|
||||
trackLine = null;
|
||||
|
||||
Reference in New Issue
Block a user