moveCamera method

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

Implementation

@override
Future<void> moveCamera(
    {required LatLng latLng,
    double? bearing,
    double? zoom,
    double? tilt}) async {
  final args = <String, dynamic>{
    'latitude': latLng.latitude,
    'longitude': latLng.longitude,
    'bearing': bearing,
    'zoom': zoom,
    'tilt': tilt
  };
  await methodChannel.invokeMethod('moveCamera', args);
}