viewAngle property
Get the camera's pitch angle in degrees.
The value is between 0 and 90 degrees, where 0 represents a top-down view.
Returns
The view angle in degrees as a double.
See also:
Implementation
double get viewAngle {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewPreferences',
'getViewAngle',
dependencyId: _mapPointerId,
);
return resultString['result'];
}
Set the camera's pitch angle in degrees.
This is a convenience setter that calls setViewAngle with the provided value and no animation. The view angle must be between 0 and 90 degrees, where 0 represents a top-down view.
Parameters
viewAngle: The view angle in degrees (0..90).
See also:
- setViewAngle - Set the view angle with optional animation.
Implementation
set viewAngle(final double viewAngle) => setViewAngle(viewAngle);