ui/map/navdata/NavSearchBox¶
Classes¶
NavSearchBox¶
Defined in: ui/map/navdata/NavSearchBox.ts:21
NavSearchBox - "go to" search for airports and waypoints.
Queries the /api/navdata/search endpoint (backed by the offline-built SQLite index) and flies the map to the chosen result. Wired to the static markup in index.html (#nav-search-input / #nav-search-results).
Constructors¶
Constructor¶
Defined in: ui/map/navdata/NavSearchBox.ts:34
Parameters¶
mapDisplay¶
Returns¶
Methods¶
init()¶
Defined in: ui/map/navdata/NavSearchBox.ts:38
Returns¶
void
setVisible()¶
Defined in: ui/map/navdata/NavSearchBox.ts:65
Show or hide the search box. Hiding also closes any open results dropdown so it doesn't linger when the widget reappears.
Parameters¶
visible¶
boolean
Returns¶
void