animateCamera method
Starts an animated change of the map camera position.
duration
is the amount of time, that the transition animation should take.
The returned Future completes after the change has been started on the platform side. It returns true if the camera was successfully moved and false if the movement was canceled. Note: this currently always returns immediately with a value of null on iOS
Implementation
Future<bool?> animateCamera(CameraUpdate cameraUpdate,
{Duration? duration}) async {
return _vietmapGLPlatform.animateCamera(cameraUpdate, duration: duration);
}