setViewpointRotation method

Future<bool> setViewpointRotation({
  1. required double angleDegrees,
})

Rotates the map view to the provided angle.

The angle will be normalized between 0 and 360 degrees.

Parameters:

  • angleDegrees — The degrees to rotate to (in counterclockwise direction).

Return Value: A Future.