On this page
fsMapViewSetWeatherRadarV2
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
| 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. |
bEnabled | Set to true to make the MapView rain V2 enabled. |
Return Values
Returns false if:
- no texture matches the given MapView ID
- the
ctxis invalid
Otherwise it will return true.
Remarks
The image below shows the difference between the v1 and v2 views:

