setViewAngle method
Set the camera's pitch angle in degrees. Must be between 0 and 90, where 0 represents a direct top-down view.
Parameters
- IN value The view angle.
- IN animation Enable/ disable the animation. By default it is false.
Throws
- An exception if it fails.
Implementation
void setViewAngle(final double viewAngle, {final bool animated = false}) {
objectMethod(
_pointerId,
'MapViewPreferences',
'setViewAngle',
args: <String, Object>{'value': viewAngle, 'animated': animated},
);
}