setViewAngle method
Set the camera's pitch angle in degrees.
The value must be between 0 and 90 degrees, where 0 represents a top-down view. Does the opposite of tiltAngle since the two angles are complementary (tiltAngle = 90 - viewAngle).
Parameters
viewAngle: The view angle in degrees (0..90).animated: True to animate the change, false otherwise.
See also:
Implementation
void setViewAngle(final double viewAngle, {final bool animated = false}) {
objectMethod(
_pointerId,
'MapViewPreferences',
'setViewAngle',
args: <String, Object>{'value': viewAngle, 'animated': animated},
dependencyId: _mapPointerId,
);
}