mapAngle property

double get mapAngle

Get the map's angle in degrees.

The angle is between 0 and 360 degrees, where 0 represents north-up alignment.

Returns

The map angle in degrees as a double.

See also:

  • tiltAngle - The tilt angle complementary to view angle.
  • viewAngle - The camera's pitch angle.

Implementation

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

  return resultString['result'];
}
set mapAngle (double angle)

Set the map's angle in degrees.

This is a convenience setter that calls setMapAngle with the provided value. The angle must be between 0 and 360 degrees, where 0 represents north-up alignment.

Parameters

  • angle: The map angle in degrees (0..360).

See also:

Implementation

set mapAngle(final double angle) {
  setMapAngle(angle);
}