Nasal scripting language: Difference between revisions

Jump to navigation Jump to search
Line 1,933: Line 1,933:
;findNavaidsByFrequency
;findNavaidsByFrequency
: find all the navaids matching a particular frequency and optional type, sorted by distance from the search location.
: find all the navaids matching a particular frequency and optional type, sorted by distance from the search location.
All positioned objects returned by the above methods have the following members:
;id
: Identifier - ICAO code for airports, published ident for navaids and fixes
;lon
: degrees longitude
;lat
: degrees latitude
Depending on type, the following members are also available:
;name
: the full name of the airport or navaid if one is defined
;elevation
: the ASL elevation of the object in feet
For navaids, the following members are available:
;frequency
: the navaid frequency in kHz
;type
: the navaid type as a string: vor, dme, loc, ils, ndb
;course
; the degrees course associated with the navaid, for localiser and ILS stations


=== <tt>flightplan</tt> ===
=== <tt>flightplan</tt> ===
580

edits

Navigation menu