|
| 1 | +export interface CircleEvent { |
| 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; |
| 51 | +} |
| 52 | + |
| 53 | +export interface CircleProps |
| 54 | + extends Partial<Omit<google.maps.CircleOptions, 'map'>>, |
| 55 | + CircleEvent {} |
0 commit comments