Add separate color and legend entry for High Vortex Large aircraft
- Added High Vortex Large as distinct category in legend - Assigned red-orange color (#ff4500) to differentiate from regular Large - Updated JavaScript to check for high vortex before regular large - Maintains proper ADS-B category distinctions for wake turbulence High Vortex Large aircraft (like B757) create stronger wake turbulence than typical large aircraft, warranting visual distinction for safety. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
a231c5f2fc
commit
94092298a1
3 changed files with 10 additions and 1 deletions
|
|
@ -271,6 +271,7 @@ body {
|
|||
.legend-icon.light { background: #00bfff; } /* Sky blue for light aircraft */
|
||||
.legend-icon.medium { background: #00ff88; } /* Green for medium aircraft */
|
||||
.legend-icon.large { background: #ff8c00; } /* Orange for large aircraft */
|
||||
.legend-icon.high-vortex { background: #ff4500; } /* Red-orange for high vortex large */
|
||||
.legend-icon.heavy { background: #ff0000; } /* Red for heavy aircraft */
|
||||
.legend-icon.helicopter { background: #ff00ff; } /* Magenta for helicopters */
|
||||
.legend-icon.military { background: #ff4444; } /* Red-orange for military */
|
||||
|
|
|
|||
|
|
@ -118,6 +118,10 @@
|
|||
<span class="legend-icon large"></span>
|
||||
<span>Large 34000-136000kg</span>
|
||||
</div>
|
||||
<div class="legend-item">
|
||||
<span class="legend-icon high-vortex"></span>
|
||||
<span>High Vortex Large</span>
|
||||
</div>
|
||||
<div class="legend-item">
|
||||
<span class="legend-icon heavy"></span>
|
||||
<span>Heavy > 136000kg</span>
|
||||
|
|
|
|||
|
|
@ -297,8 +297,12 @@ export class AircraftManager {
|
|||
if (cat.includes('medium')) {
|
||||
return '#00ff88';
|
||||
}
|
||||
// High Vortex Large - Red-orange (special wake turbulence category)
|
||||
if (cat.includes('high vortex')) {
|
||||
return '#ff4500';
|
||||
}
|
||||
// Large aircraft (34000-136000kg) - Orange
|
||||
if (cat.includes('large') || cat.includes('high vortex')) {
|
||||
if (cat.includes('large')) {
|
||||
return '#ff8c00';
|
||||
}
|
||||
// Heavy aircraft (> 136000kg) - Red
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue