This function can be used to show or hide the weather radar on the MapView.

 

 

Syntax
bool fsMapViewSetWeatherRadarVisibility(
    FsContext ctx,
    FsTextureId id,
    bool bVisibility
    )

 

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.
bVisibilitySet to true to make the weather radar visible, set to false to make invisible.

 

Return Values

Returns false if:

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

Otherwise it will return true.

 

Remarks

N/A