viewAngle property
Camera pitch angle during follow position mode
The pitch angle controls the camera's vertical tilt. A value of 0 represents a direct top-down view, while 90 represents a horizontal view at ground level. Use setViewAngle to modify this value.
Returns
- The camera pitch angle in degrees (range: 0-90, where 0 is top-down)
Implementation
double get viewAngle {
final OperationResult resultString = objectMethod(
pointerId,
'FollowPositionPreferences',
'getViewAngle',
dependencyId: _mapPointerId,
);
return resultString['result'];
}