SIMCONNECT_DATA_FACILITY_AIRPORT
The SIMCONNECT_DATA_FACILITY_AIRPORT structure is used to return information on a single airport in the facilities cache.
Syntax
struct SIMCONNECT_DATA_FACILITY_AIRPORT{
char ident[9];
char region[3];
double Latitude;
double Longitude;
double Altitude;
};
Members
| Member | Description |
|---|---|
ident | The ICAO of the facility. |
region | The ICAO of the region. |
Latitude | Latitude of the airport facility. |
Longitude | Longitude of the airport facility. |
Altitude | Altitude of the facility in meters. |
Remarks
This structure is returned as one element in the SIMCONNECT_RECV_AIRPORT_LIST structure. Note that this structure is inherited by SIMCONNECT_DATA_FACILITY_WAYPOINT, SIMCONNECT_DATA_FACILITY_NDB and SIMCONNECT_DATA_FACILITY_VOR, so the latitude, longitude, and altitude will apply to those facilities in that case.
See the remarks for SimConnect_RequestFacilitesList.