moveCamera method

Future<void> moveCamera(
  1. CameraUpdate cameraUpdate
)

Changes the map camera position.

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

Implementation

Future<void> moveCamera(CameraUpdate cameraUpdate) async {
  await channel.invokeMethod<void>('camera#move', <String, dynamic>{
    'cameraUpdate': cameraUpdate._toJson(),
  });
}