InteractiveChecklists icon indicating copy to clipboard operation
InteractiveChecklists copied to clipboard

Feature: Map View - Nearest Airports List

Open arn-c0de opened this issue 10 months ago • 0 comments

Add a Nearest Airports list to the Map View, showing airports sorted by distance from the player’s current position. The list is accessible via a toggle (sidebar or overlay).

  • Improves navigation and situational awareness
  • Quick access to nearby airfields without manual map searching

Acceptance Criteria ✅

  • [x] Toggle/button opens the Nearest Airports list

  • [x] Airports are sorted by ascending distance

  • [x] Each row displays:

    • [x] Airport name
    • [x] ICAO code
    • [x] Distance (km / nm)
    • [x] Bearing (degrees)
    • [x] Runway infos
  • [x] Tapping a row centers the map on the airport

  • [ ] Airport details popup opens

  • [x] Distances update when the player moves (debounced)

  • [x] Works offline using local airport data

  • [ ] All strings are localized

  • [ ] Accessibility support (aria-label/contentDescription, keyboard focus)

Tasks (Suggested) 📝

  • [x] Create UI component (sidebar / overlay)
  • [ ] Add string resources
  • [x] Implement sorting & distance utilities + unit tests
  • [x] Integrate list into Map View
  • [x] Center map & open popup on selection
  • [x] Add feature flag / setting (default off)
  • [ ] Add UI and unit tests
  • [ ] Update README / CHANGELOG

arn-c0de avatar Jan 17 '26 11:01 arn-c0de