moveAndRotate method

MoveAndRotateResult moveAndRotate(
  1. LatLng newCenter,
  2. double newZoom,
  3. double newRotation, {
  4. required MapEventSource source,
  5. String? id,
})

Implementation

MoveAndRotateResult moveAndRotate(
    LatLng newCenter, double newZoom, double newRotation,
    {required MapEventSource source, String? id}) {
  final moveSucc = move(newCenter, newZoom, id: id, source: source);
  final rotateSucc = rotate(newRotation, id: id, source: source);

  return MoveAndRotateResult(moveSucc, rotateSucc);
}