moveCamera method
Implementation
Future<void> moveCamera(
OlaLatLng target, {
double zoom = 15,
int durationMs = 500,
}) async {
try {
await _invoke('moveCamera', {
'latitude': target.latitude,
'longitude': target.longitude,
'zoomLevel': zoom,
'durationMs': durationMs,
});
} catch (e) {
debugPrint('Error moving camera: $e');
}
}