This function can be used to set whether the airport layer is shown or hidden on the map. The airport layer includes airport facilities, taxiways and runways. This applies to both 2D (non-aerial) and 3D map views. By default, the airport layer is shown.

Syntax
bool fsMapViewShowAirportLayer(
    FsContext ctx,
    FsTextureId id,
    bool bShown
);
Members
ParametersDescription
ctxA value of type FsContext provided as an argument of the gauge callback.
idThe MapView render ID as returned by the function fsMapViewCreate.
bShownWhether to show the airport layer or not. Defaults to true on map creation.
Return Values

Returns false if:

  • no texture matches the given MapView ID
  • the ctx is invalid

Otherwise it will return true.

Remarks

N/A

0/255