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

 

 

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

 

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