From d40f8d868a4be6200385939aee534e3a4bfb5eff Mon Sep 17 00:00:00 2001 From: Guille Date: Fri, 3 Jun 2016 11:32:55 +0200 Subject: [PATCH] Update interfaces to use GoogleMapsLatLng instead of Lat / Lng --- src/plugins/googlemaps.ts | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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;