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.
XPLM_API XPLMNavTypeXPLMGetGPSDestinationType(void);
XPLMGetGPSDestination
function
This routine returns the current GPS destination.
XPLM_API XPLMNavRef XPLMGetGPSDestination(void);