fsChartsGetIndex

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
Parameters Description
airportIcao The ICAO of the airport to get the chart index for.
provider The chart provider to fetch the data for, should be either LIDO or FAA.
callback The callback invoked when the request completes.
userData A 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

 

Related Topics

  1. WebAssembly
  2. Charts API