mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
* feat(map): merge NOTAM closures into Aviation layer, fix click popup Consolidate the separate "NOTAM Closures" toggle into the "Aviation" layer so users get a single checkbox for flight delays, NOTAM rings, and aircraft positions. - Remove notamOverlay from MapLayers, all variants, URL state, registry - Render NOTAM rings under flights toggle in both DeckGL and Globe maps - Wire notam-overlay-layer click to flight popup (was missing entirely) - Broaden NOTAM detection: restrictions (RA/RO, TFR, danger areas) render as major severity; closures remain severe - Add restrictedIcaos to LoadedNotamResult for severity distinction * fix(aviation): separate restriction NOTAMs from closures in all consumers Restrictions (TFR, danger areas) were being added to closedIcaoCodes, causing ops-summary to report them as full closures and CII scoring to apply the closure penalty (+20 instead of +10). - Keep closedIcaoCodes for real closures only, restrictedIcaoCodes separate - Restrictions use delayType 'general' (not 'closure') so downstream code (popup labels, globe rings, CII scoring) treats them correctly - ops-summary now shows RESTRICTED flag instead of CLOSED for restrictions - buildNotamAlert/mergeNotamWithExistingAlert accept delayType param