moveAndRotate method

  1. @override
MoveAndRotateResult moveAndRotate(
  1. LatLng center,
  2. double zoom,
  3. double degree, {
  4. String? id,
})
override

Calls move and rotate together, but is more efficient for the combined operation

Does not support offsets or rotations around custom points.

See documentation on those methods for more details.

The operation was successful if MoveAndRotateResult.moveSuccess and MoveAndRotateResult.rotateSuccess are true.

Implementation

@override
MoveAndRotateResult moveAndRotate(
  LatLng center,
  double zoom,
  double degree, {
  String? id,
}) =>
    _state.moveAndRotate(
      center,
      zoom,
      degree,
      source: MapEventSource.mapController,
      id: id,
    );