diff --git a/assets/static/css/style.css b/assets/static/css/style.css index 750603c..9a3400d 100644 --- a/assets/static/css/style.css +++ b/assets/static/css/style.css @@ -271,7 +271,6 @@ 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 */ diff --git a/assets/static/index.html b/assets/static/index.html index d8eeaac..b9f43b0 100644 --- a/assets/static/index.html +++ b/assets/static/index.html @@ -118,10 +118,6 @@ Large 34000-136000kg -
- - High Vortex Large -
Heavy > 136000kg diff --git a/assets/static/js/modules/aircraft-manager.js b/assets/static/js/modules/aircraft-manager.js index 128e791..347399b 100644 --- a/assets/static/js/modules/aircraft-manager.js +++ b/assets/static/js/modules/aircraft-manager.js @@ -290,23 +290,19 @@ export class AircraftManager { // Check for specific weight ranges in the category string // Light aircraft (< 7000kg) - Sky blue - if (cat.includes('light')) { + if (cat.includes('light') || cat.includes('7000kg')) { return '#00bfff'; } // Medium aircraft (7000-34000kg) - Green - if (cat.includes('medium')) { + if (cat.includes('medium 7000')) { 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')) { + if (cat.includes('medium 34000') || cat.includes('large')) { return '#ff8c00'; } // Heavy aircraft (> 136000kg) - Red - if (cat.includes('heavy') || cat.includes('super')) { + if (cat.includes('heavy') || cat.includes('136000kg') || cat.includes('super')) { return '#ff0000'; } } diff --git a/internal/modes/decoder.go b/internal/modes/decoder.go index 4dd74cb..c78c5e2 100644 --- a/internal/modes/decoder.go +++ b/internal/modes/decoder.go @@ -789,7 +789,7 @@ func (d *Decoder) getAircraftCategory(tc uint8, ca uint8) string { case 2: return "Medium 7000-34000kg" case 3: - return "Large 34000-136000kg" + return "Medium 34000-136000kg" case 4: return "High Vortex Large" case 5: