fsMapViewSetWeatherRadarBankLimitsInRadians

This function can be used to set the minimum and maximum bank limits for the radar.

 

 

Syntax
bool fsMapViewSetWeatherRadarBankLimitsInRadians(
    FsContext ctx,
    FsTextureId id,
    double fMin,
    double fMax
    )

 

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.
fMin The minimum bank value allowed, in radians. Values are clamped between \(-\pi\) and \(\pi\), with a default value of \(\frac{-\pi}{6}\).
fMax The maximum bank value allowed, in radians. Values are clamped between \(-\pi\) and \(\pi\), with a default value of \(\frac{\pi}{6}\).

 

Return Values

Returns true if successful, otherwise it will return false. Note, setting fMax to less than fMin will cause a failure.

 

Remarks

N/A

 

0/255