mapAngle property

double get mapAngle

Get the map's angle in degrees. Is between 0 and 360 degrees, where 0 represents north-up alignment.

Returns

  • The map angle.

Throws

  • An exception if it fails

Implementation

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

  return resultString['result'];
}