animateCamera method

Future<void> animateCamera(
  1. MPCameraUpdate update, [
  2. int? duration
])

Uses a camera update to animate the camera.

duration how long the animation should take.

Implementation

Future<void> animateCamera(MPCameraUpdate update, [int? duration]) {
  return MapcontrolPlatform.instance.animateCamera(update, duration);
}