animateCamera method

Future<void> animateCamera(
  1. CameraUpdate cameraUpdate
)

Starts an animated change of the map camera position.

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

Implementation

Future<void> animateCamera(CameraUpdate cameraUpdate) {
  return GoogleMapsFlutterPlatform.instance
      .animateCamera(cameraUpdate, mapId: mapId);
}