This function can be used to enable or disable the v2 of the map view weather API used for displaying the weather. The V2 system has improved rendering for rain display.

Syntax
bool fsMapViewSetWeatherRadarV2(
    FsContext ctx,
    FsTextureId id,
    bool bEnabled
    )
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.
bEnabledSet to true to make the MapView rain V2 enabled.
Return Values

Returns false if:

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

Otherwise it will return true.

Remarks

The image below shows the difference between the v1 and v2 views:

Examples Of The Different Map Views

0/255