animateCameraWithConfiguration method

Future<void> animateCameraWithConfiguration(
  1. CameraUpdate cameraUpdate,
  2. CameraUpdateAnimationConfiguration configuration, {
  3. required int mapId,
})

Starts an animated change of the map camera position using the provided CameraUpdateAnimationConfiguration.

The returned Future completes after the change has been started on the platform side.

Implementation

Future<void> animateCameraWithConfiguration(
  CameraUpdate cameraUpdate,
  CameraUpdateAnimationConfiguration configuration, {
  required int mapId,
}) {
  return animateCamera(cameraUpdate, mapId: mapId);
}