setAutoRotation abstract method

void setAutoRotation({
  1. required bool enabled,
  2. Animation? animation,
})

Set autorotation in 'Following' camera mode. If disabled, the map will be rotated so that the north is on top. animation parameter ignored if camera currently not in the 'Following' mode. Enabled by default.

Implementation

void setAutoRotation({
  required core.bool enabled,
  mapkit_animation.Animation? animation,
});