File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Original file line number Diff line number Diff line change @@ -77,9 +77,18 @@ type markerEventHandler = (props?: IMarkerProps, marker?: google.maps.Marker, ev
77
77
78
78
export interface IMarkerProps extends Partial < google . maps . MarkerOptions > {
79
79
mapCenter ?: google . maps . LatLng | google . maps . LatLngLiteral
80
+ position ?: google . maps . LatLng | google . maps . LatLngLiteral
81
+ title ?: string
82
+ name ?: string
80
83
81
84
onClick ?: markerEventHandler
85
+ onDblclick ?: markerEventHandler
86
+ onDragend ?: markerEventHandler
87
+ onMousedown ?: markerEventHandler
88
+ onMouseout ?: markerEventHandler
82
89
onMouseover ?: markerEventHandler
90
+ onMouseup ?: markerEventHandler
91
+ onRecenter ?: markerEventHandler
83
92
}
84
93
85
94
export class Map extends React . Component < IMapProps , any > {
@@ -105,11 +114,15 @@ export class Circle extends React.Component<any, any> {
105
114
export interface IInfoWindowProps extends Partial < google . maps . InfoWindowOptions > {
106
115
google : typeof google
107
116
map : google . maps . Map
108
- marker : google . maps . Marker
117
+ marker ? : google . maps . Marker
109
118
110
- mapCenter ?: google . maps . LatLng | google . maps . LatLngLiteral
119
+ position ?: google . maps . LatLng | google . maps . LatLngLiteral
111
120
visible ?: boolean
112
121
122
+ children : React . ReactNode
123
+ onClose ( ) : void
124
+ onOpen ( ) : void
125
+
113
126
}
114
127
115
128
export class InfoWindow extends React . Component < IInfoWindowProps , any > {
You can’t perform that action at this time.
0 commit comments