setMapAngle method

void setMapAngle(
  1. double angle
)

Set the map's angle in degrees.

Parameters

  • angle: Angle in degrees (0..360) where 0 represents north.

See also:

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

Implementation

void setMapAngle(final double angle) {
  objectMethod(
    _pointerId,
    'MapViewPreferences',
    'setRotationAngle',
    args: angle,
    dependencyId: _mapPointerId,
  );
}