The fsChartsGetIndex function fetches the chart index for a given airport from the specified provider (LIDO or FAA).

 

Syntax
bool fsChartsGetIndex(
    FsIcao airportIcao,
    const char* provider,
    FsChartsIndexCallback callback,
    void* userData
    );

 

Members
ParametersDescription
airportIcaoThe ICAO of the airport to get the chart index for.
providerThe chart provider to fetch the data for, should be either LIDO or FAA.
callbackThe callback invoked when the request completes.
userDataA user-defined pointer for data that is to be returned as part of the callback (or NULL if not required).

 

Return Values

The function returns false if it was not possible to send the request. If the request was sent but failed, the specified callback will be invoked with an appropriate error code.

 

Remarks

N/A