mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-04 00:13:06 +08:00
Update interfaces to use GoogleMapsLatLng instead of Lat / Lng
This commit is contained in:
parent
02a658321a
commit
d40f8d868a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user