On this page
fsMapViewShowAirportLayer
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
| Parameters | Description |
|---|---|
ctx | A value of type FsContext provided as an argument of the gauge callback. |
id | The MapView render ID as returned by the function fsMapViewCreate. |
bShown | Whether 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
ctxis invalid
Otherwise it will return true.
Remarks
N/A
