moveCamera method

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

Implementation

Future<void> moveCamera(
    {required LatLng latLng,
    double? bearing,
    double? zoom,
    double? tilt}) async {
  return _methodChannel.invokeMethod(MethodChannelEvent.moveCamera, {
    'latitude': latLng.latitude,
    'longitude': latLng.longitude,
    'bearing': bearing,
    'zoom': zoom,
    'tilt': tilt
  });
}