viewAngle property

double get viewAngle

Returns the camera's pitch (view angle) in degrees.

The view angle is the camera's pitch relative to the ground plane. A value of 0.0 represents a direct top-down view and 90.0 represents a horizon view. This angle affects how geographic features are projected to screen coordinates and can influence scale and visibility calculations.

Returns

  • Current view angle in degrees as a double (range: 0.0–90.0).

Implementation

double get viewAngle {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapView',
    'getPitchInDegrees',
  );

  return resultString['result'];
}