Gps Receiver
These APIs let you read data from the GPS unit.
XPLMGetGPSDestinationType
function
This routine returns the type of the currently selected GPS destination, one of fix, airport, VOR or NDB.
-- returns XPLMNavType -> assign to local/var
local my_navType = XPLMGetGPSDestinationType(
)
XPLMGetGPSDestination
function
This routine returns the current GPS destination.
-- returns XPLMNavRef -> assign to local/var
local my_navRef = XPLMGetGPSDestination(
)