viewAngle property

double get viewAngle

The camera's pitch angle in degrees. Is between 0 and 90, where 0 represents a direct top-down view.

Returns

  • The view angle

Throws

  • An exception if it fails.

Implementation

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

  return resultString['result'];
}