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 both fields of the resulting record are true.

Implementation

@override
MoveAndRotateResult moveAndRotate(
  LatLng center,
  double zoom,
  double degree, {
  String? id,
}) =>
    _internalController.moveAndRotate(
      center,
      zoom,
      degree,
      offset: Offset.zero,
      hasGesture: false,
      source: MapEventSource.mapController,
      id: id,
    );