skyview/static
Ole-Morten Duesund 5a4f9e2e20 Fix source popup closing immediately after opening
Problem: Source markers were being recreated on every WebSocket update
(every second), which destroyed any open popups.

Solution: Modified updateSourceMarkers() to:
- Only remove markers for sources that no longer exist
- Update existing markers in-place instead of recreating them
- Preserve open popups by updating content instead of recreating markers
- Only create new markers when sources are actually added

This ensures that clicking on a source marker opens a popup that stays
open for user interaction, similar to aircraft popups.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-24 00:06:59 +02:00
..
css Enhance aircraft details display to match dump1090 format 2025-08-23 23:20:31 +02:00
js Fix source popup closing immediately after opening 2025-08-24 00:06:59 +02:00
aircraft-icon.svg Initial implementation of SkyView - ADS-B aircraft tracker 2025-08-23 22:09:37 +02:00
favicon.ico Fix Chart.js loading and add favicon support 2025-08-23 22:43:25 +02:00
index.html Fix JavaScript errors and implement Three.js 3D radar 2025-08-24 00:03:26 +02:00