skyview/assets/static/js/modules
Ole-Morten Duesund 7461d881cf feat: Improve aircraft legend clarity and icon differentiation
Resolves issue #13 by implementing comprehensive aircraft legend improvements:

## New Features
- **Size-based aircraft icons**: Created distinct SVG icons for light, medium, large, and heavy aircraft with progressively larger visual representations
- **Visual aircraft icons in legend**: Replaced colored squares with actual aircraft silhouettes showing relative sizes and types
- **Enhanced categorization**: Added military category to legend and improved icon selection logic

## Improvements
- **Better differentiation**: Each weight class now has a unique icon shape, not just color
- **Accurate ADS-B mapping**: Icons correctly map to decoded ADS-B emitter categories
- **Clearer legend display**: Users can now see actual aircraft shapes instead of generic colored rectangles

## Technical Changes
- Created 4 new SVG icons: light.svg, medium.svg, large.svg, heavy.svg
- Updated legend HTML to embed aircraft SVG icons inline
- Enhanced JavaScript logic to better match categories to appropriate icon types
- Simplified color mapping function for cleaner code

This addresses the original concerns about confusing legend entries and lack of visual differentiation between aircraft types.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-01 09:57:39 +02:00
..
aircraft-manager.js feat: Improve aircraft legend clarity and icon differentiation 2025-09-01 09:57:39 +02:00
callsign-manager.js feat: Enhance web interface with database integration and callsign management 2025-08-31 19:43:58 +02:00
map-manager.js Default range rings to enabled 2025-08-24 21:09:33 +02:00
ui-manager.js Implement transponder code (squawk) lookup and textual descriptions 2025-08-31 12:02:02 +02:00
websocket.js Fix aircraft track propagation issues in web frontend 2025-08-25 10:14:03 +02:00