diff --git a/src/plugins/googlemaps.ts b/src/plugins/googlemaps.ts index ac8a990eb..5e6c2ac9b 100644 --- a/src/plugins/googlemaps.ts +++ b/src/plugins/googlemaps.ts @@ -352,26 +352,20 @@ export class GoogleMap { } export interface AnimateCameraOptions { - target?: string; + target?: GoogleMapsLatLng; tilt?: number; zoom?: number; bearing?: number; duration?: number; } export interface CameraPosition { - target?: { - lat?: string; - lng?: string; - }; + target?: GoogleMapsLatLng; zoom?: number; tilt?: number; bearing?: number; } export interface MyLocation { - latLng?: { - lat?: string; - lng?: string; - }; + latLng?: GoogleMapsLatLng; speed?: number; time?: string; bearing?: number;