headingInDegrees property

double get headingInDegrees

Get the camera heading in degrees, with respect to Earth

Returns

  • The heading angle of the camera in degrees, where 0 degrees indicates north.

Throws

  • An exception if it fails

Implementation

double get headingInDegrees {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapView',
    'getHeadingInDegrees',
  );

  return resultString['result'];
}