Update interfaces to use GoogleMapsLatLng instead of Lat / Lng

This commit is contained in:
Guille 2016-06-03 11:32:55 +02:00
parent 02a658321a
commit d40f8d868a

View File

@ -352,26 +352,20 @@ export class GoogleMap {
} }
export interface AnimateCameraOptions { export interface AnimateCameraOptions {
target?: string; target?: GoogleMapsLatLng;
tilt?: number; tilt?: number;
zoom?: number; zoom?: number;
bearing?: number; bearing?: number;
duration?: number; duration?: number;
} }
export interface CameraPosition { export interface CameraPosition {
target?: { target?: GoogleMapsLatLng;
lat?: string;
lng?: string;
};
zoom?: number; zoom?: number;
tilt?: number; tilt?: number;
bearing?: number; bearing?: number;
} }
export interface MyLocation { export interface MyLocation {
latLng?: { latLng?: GoogleMapsLatLng;
lat?: string;
lng?: string;
};
speed?: number; speed?: number;
time?: string; time?: string;
bearing?: number; bearing?: number;