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 {
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user