moveAndRotateRaw method

MoveAndRotateResult moveAndRotateRaw(
  1. LatLng newCenter,
  2. double newZoom,
  3. double newRotation, {
  4. required Offset offset,
  5. required bool hasGesture,
  6. required MapEventSource source,
  7. String? id,
})

Internal endpoint to move, rotate and change zoom level of the MapCamera.

Implementation

MoveAndRotateResult moveAndRotateRaw(
  LatLng newCenter,
  double newZoom,
  double newRotation, {
  required Offset offset,
  required bool hasGesture,
  required MapEventSource source,
  String? id,
}) =>
    (
      moveSuccess: moveRaw(
        newCenter,
        newZoom,
        offset: offset,
        hasGesture: hasGesture,
        source: source,
        id: id,
      ),
      rotateSuccess: rotateRaw(
        newRotation,
        id: id,
        source: source,
        hasGesture: hasGesture,
      ),
    );