viewAngle property

double get viewAngle

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:

  • mapAngle - The map's rotation angle.
  • tiltAngle - The tilt angle complementary to view angle.

Implementation

double get viewAngle {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapViewPreferences',
    'getViewAngle',
    dependencyId: _mapPointerId,
  );

  return resultString['result'];
}