animateCamera method

Future<void> animateCamera({
  1. required LatLng latLng,
  2. double? bearing,
  3. double? zoom,
  4. double? tilt,
})

Animate the camera to a specific location latLng the location to animate the camera to bearing the bearing of the camera

Implementation

Future<void> animateCamera(
    {required LatLng latLng,
    double? bearing,
    double? zoom,
    double? tilt}) async {
  return VietmapNavigationPluginPlatform.instance.animateCamera(
      latLng: latLng, bearing: bearing, zoom: zoom, tilt: tilt);
}