|
1 | 1 | export interface CircleEvent { |
2 | 2 | onCenterChanged?: (circle: google.maps.Circle) => void; |
3 | | - onClick?: ( |
4 | | - circle: google.maps.Circle, |
5 | | - event: google.maps.PolyMouseEvent, |
6 | | - ) => void; |
7 | | - onContextmenu?: ( |
8 | | - circle: google.maps.Circle, |
9 | | - event: google.maps.PolyMouseEvent, |
10 | | - ) => void; |
11 | | - onDblClick?: ( |
12 | | - circle: google.maps.Circle, |
13 | | - event: google.maps.PolyMouseEvent, |
14 | | - ) => void; |
15 | | - onDrag?: ( |
16 | | - circle: google.maps.Circle, |
17 | | - event: google.maps.MapMouseEvent, |
18 | | - ) => void; |
19 | | - onDragEnd?: ( |
20 | | - circle: google.maps.Circle, |
21 | | - event: google.maps.MapMouseEvent, |
22 | | - ) => void; |
23 | | - onDragStart?: ( |
24 | | - circle: google.maps.Circle, |
25 | | - event: google.maps.MapMouseEvent, |
26 | | - ) => void; |
27 | | - onMouseDown?: ( |
28 | | - circle: google.maps.Circle, |
29 | | - event: google.maps.PolyMouseEvent, |
30 | | - ) => void; |
31 | | - onMouseMove?: ( |
32 | | - circle: google.maps.Circle, |
33 | | - event: google.maps.PolyMouseEvent, |
34 | | - ) => void; |
35 | | - onMouseOut?: ( |
36 | | - circle: google.maps.Circle, |
37 | | - event: google.maps.PolyMouseEvent, |
38 | | - ) => void; |
39 | | - onMouseOver?: ( |
40 | | - circle: google.maps.Circle, |
41 | | - event: google.maps.PolyMouseEvent, |
42 | | - ) => void; |
43 | | - onMouseUp?: ( |
44 | | - circle: google.maps.Circle, |
45 | | - event: google.maps.PolyMouseEvent, |
46 | | - ) => void; |
47 | | - onRadiusChanged?: ( |
48 | | - circle: google.maps.Circle, |
49 | | - event: google.maps.PolyMouseEvent, |
50 | | - ) => void; |
| 3 | + onClick?: (circle: google.maps.Circle, event: google.maps.PolyMouseEvent) => void; |
| 4 | + onContextmenu?: (circle: google.maps.Circle, event: google.maps.PolyMouseEvent) => void; |
| 5 | + onDblClick?: (circle: google.maps.Circle, event: google.maps.PolyMouseEvent) => void; |
| 6 | + onDrag?: (circle: google.maps.Circle, event: google.maps.MapMouseEvent) => void; |
| 7 | + onDragEnd?: (circle: google.maps.Circle, event: google.maps.MapMouseEvent) => void; |
| 8 | + onDragStart?: (circle: google.maps.Circle, event: google.maps.MapMouseEvent) => void; |
| 9 | + onMouseDown?: (circle: google.maps.Circle, event: google.maps.PolyMouseEvent) => void; |
| 10 | + onMouseMove?: (circle: google.maps.Circle, event: google.maps.PolyMouseEvent) => void; |
| 11 | + onMouseOut?: (circle: google.maps.Circle, event: google.maps.PolyMouseEvent) => void; |
| 12 | + onMouseOver?: (circle: google.maps.Circle, event: google.maps.PolyMouseEvent) => void; |
| 13 | + onMouseUp?: (circle: google.maps.Circle, event: google.maps.PolyMouseEvent) => void; |
| 14 | + onRadiusChanged?: (circle: google.maps.Circle, event: google.maps.PolyMouseEvent) => void; |
51 | 15 | } |
52 | 16 |
|
53 | | -export interface CircleProps |
54 | | - extends Partial<Omit<google.maps.CircleOptions, 'map'>>, |
55 | | - CircleEvent {} |
| 17 | +export interface CircleProps extends Partial<Omit<google.maps.CircleOptions, 'map'>>, CircleEvent {} |
0 commit comments