mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
[google-map-react] bounds fix (#24794)
This commit is contained in:
committed by
Mohamed Hegazy
parent
81cb59546f
commit
1bedb8fe2b
Vendored
+10
-4
@@ -47,10 +47,10 @@ export interface Maps {
|
||||
}
|
||||
|
||||
export interface Bounds {
|
||||
nw: number;
|
||||
ne: number;
|
||||
sw: number;
|
||||
se: number;
|
||||
nw: Coords;
|
||||
ne: Coords;
|
||||
sw: Coords;
|
||||
se: Coords;
|
||||
}
|
||||
|
||||
export interface Point {
|
||||
@@ -63,6 +63,11 @@ export interface Coords {
|
||||
lng: number;
|
||||
}
|
||||
|
||||
export interface Size {
|
||||
width: number;
|
||||
height: number;
|
||||
}
|
||||
|
||||
export interface ClickEventValue extends Point, Coords {
|
||||
event: any;
|
||||
}
|
||||
@@ -72,6 +77,7 @@ export interface ChangeEventValue {
|
||||
zoom: number;
|
||||
bounds: Bounds;
|
||||
marginBounds: Bounds;
|
||||
size: Size;
|
||||
}
|
||||
|
||||
export interface Props {
|
||||
|
||||
Reference in New Issue
Block a user