diff --git a/src/plugins/googlemaps.ts b/src/plugins/googlemaps.ts index 3b7eb1c33..2945fc1f4 100644 --- a/src/plugins/googlemaps.ts +++ b/src/plugins/googlemaps.ts @@ -173,13 +173,11 @@ export class GoogleMap { setTilt(tiltLevel: number): void { } - @CordovaInstance({ sync: true }) - animateCamera(animateCameraOptions: AnimateCameraOptions): void { - } + @CordovaInstance() + animateCamera(animateCameraOptions: AnimateCameraOptions): Promise { return; } - @CordovaInstance({ sync: true }) - moveCamera(cameraPosition: CameraPosition): void { - } + @CordovaInstance() + moveCamera(cameraPosition: CameraPosition): Promise { return; } @CordovaInstance({ sync: true }) setMyLocationEnabled(enabled: boolean): void {