google-maps-react-markers 2.0.15 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENCE.md +1 -1
- package/README.md +60 -198
- package/dist/index.d.ts +206 -285
- package/dist/index.js +989 -2
- package/dist/index.js.map +1 -0
- package/package.json +80 -112
- package/dist/index.cjs +0 -2
- package/dist/index.d.cts +0 -295
package/dist/index.d.ts
CHANGED
|
@@ -1,295 +1,216 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
declare global {
|
|
5
|
-
interface Window {
|
|
6
|
-
google?: any;
|
|
7
|
-
googleMapsCallback?: () => void;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
type MapMouseEvent = google.maps.MapMouseEvent;
|
|
11
|
-
type Map = google.maps.Map;
|
|
12
|
-
type MapsLibrary = typeof google.maps;
|
|
13
|
-
type MapPanes = google.maps.MapPanes;
|
|
14
|
-
type MapOptions = google.maps.MapOptions;
|
|
15
|
-
type LatLng = google.maps.LatLng;
|
|
1
|
+
/// <reference types="google.maps" />
|
|
2
|
+
import { CSSProperties, ReactNode, Ref } from "react";
|
|
16
3
|
type LatLngLiteral = google.maps.LatLngLiteral;
|
|
17
|
-
|
|
18
|
-
type
|
|
4
|
+
/** Map bounds as `[westLng, southLat, eastLng, northLat]`, ready for supercluster's `getClusters()`. */
|
|
5
|
+
type BBox = [west: number, south: number, east: number, north: number];
|
|
6
|
+
/** Loading status of the Google Maps JavaScript API. */
|
|
7
|
+
type GoogleMapsStatus = 'loading' | 'ready' | 'error';
|
|
19
8
|
/**
|
|
20
|
-
*
|
|
9
|
+
* How markers are drawn.
|
|
10
|
+
* - `advanced`: `google.maps.marker.AdvancedMarkerElement`. Needs a `mapId`.
|
|
11
|
+
* - `overlay`: a custom `google.maps.OverlayView`. Works without `mapId`, so JSON `styles` keep working.
|
|
12
|
+
* - `auto`: `advanced` when the map has a `mapId`, `overlay` otherwise.
|
|
21
13
|
*/
|
|
22
|
-
type
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* The Google Maps API key.
|
|
52
|
-
*/
|
|
53
|
-
apiKey?: string;
|
|
54
|
-
/**
|
|
55
|
-
* The Google Maps API callback.
|
|
56
|
-
*/
|
|
57
|
-
callback?: () => void;
|
|
58
|
-
/**
|
|
59
|
-
* The Google Maps API params to be appended to the script URL.
|
|
60
|
-
* @example
|
|
61
|
-
* {
|
|
62
|
-
* language: 'en',
|
|
63
|
-
* region: 'GB',
|
|
64
|
-
* }
|
|
65
|
-
*/
|
|
66
|
-
externalApiParams?: {
|
|
67
|
-
[key: string]: any;
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* The Google Maps API libraries to be loaded.
|
|
71
|
-
* @default ['places', 'geometry']
|
|
72
|
-
*/
|
|
73
|
-
libraries?: string[];
|
|
74
|
-
/**
|
|
75
|
-
* Whether to manage the script loading externally.
|
|
76
|
-
* @default false
|
|
77
|
-
*/
|
|
78
|
-
loadScriptExternally?: boolean;
|
|
79
|
-
/**
|
|
80
|
-
* The status of the script loading.
|
|
81
|
-
* To be used only if `loadScriptExternally` is `true`.
|
|
82
|
-
*/
|
|
83
|
-
status?: UseScriptStatus;
|
|
84
|
-
}
|
|
85
|
-
interface ScriptProps {
|
|
86
|
-
/**
|
|
87
|
-
* The attributes to be passed to the script element.
|
|
88
|
-
*/
|
|
89
|
-
attributes?: {
|
|
90
|
-
[key: string]: string;
|
|
91
|
-
};
|
|
92
|
-
/**
|
|
93
|
-
* The callback to be called when the script has loaded
|
|
94
|
-
* successfully or has failed to load.
|
|
95
|
-
*/
|
|
96
|
-
callbacks?: {
|
|
97
|
-
onErrorCallback?: () => void;
|
|
98
|
-
onLoadCallback?: () => void;
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* The ID of the HTML element where the script will be appended.
|
|
102
|
-
* If not provided, the script will be appended to the `body` element.
|
|
103
|
-
*/
|
|
104
|
-
elementIdToAppend?: string;
|
|
105
|
-
/**
|
|
106
|
-
* The URL of the script to be loaded.
|
|
107
|
-
*/
|
|
108
|
-
src: string;
|
|
109
|
-
}
|
|
110
|
-
interface UseScriptOptions {
|
|
111
|
-
/**
|
|
112
|
-
* Whether to remove the script when the component unmounts.
|
|
113
|
-
*/
|
|
114
|
-
removeOnUnmount?: boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Whether to prevent the script from loading.
|
|
117
|
-
* @default false
|
|
118
|
-
*/
|
|
119
|
-
shouldPreventLoad?: boolean;
|
|
120
|
-
}
|
|
121
|
-
interface MapContextProps {
|
|
122
|
-
/**
|
|
123
|
-
* The Google Maps instance.
|
|
124
|
-
*/
|
|
125
|
-
map: Map;
|
|
126
|
-
/**
|
|
127
|
-
* The Google Maps API object.
|
|
128
|
-
*/
|
|
129
|
-
maps: MapsLibrary;
|
|
14
|
+
type MarkerRenderer = 'auto' | 'advanced' | 'overlay';
|
|
15
|
+
/** Options for loading the Google Maps JavaScript API. Only the first mounted map applies them. */
|
|
16
|
+
interface GoogleMapsLoaderOptions {
|
|
17
|
+
/** Your Google Maps Platform API key. */
|
|
18
|
+
apiKey?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional `auth_referrer_policy` parameter.
|
|
21
|
+
* @see https://developers.google.com/maps/documentation/javascript/load-maps-js-api#optional_parameters
|
|
22
|
+
*/
|
|
23
|
+
authReferrerPolicy?: string;
|
|
24
|
+
/** Optional `channel` parameter, used for usage reports. */
|
|
25
|
+
channel?: string;
|
|
26
|
+
/** Language of map labels and controls, for example `'it'`. */
|
|
27
|
+
language?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Extra libraries to load together with the map, for example `['places', 'geometry']`.
|
|
30
|
+
* You can also load them later with `useMapsLibrary()`.
|
|
31
|
+
*/
|
|
32
|
+
libraries?: (keyof google.maps.ImportLibraryMap)[];
|
|
33
|
+
/** Map IDs to preload. */
|
|
34
|
+
mapIds?: string[];
|
|
35
|
+
/** Region bias, for example `'IT'`. */
|
|
36
|
+
region?: string;
|
|
37
|
+
/**
|
|
38
|
+
* API version: `'weekly'`, `'quarterly'`, `'beta'` or a specific version.
|
|
39
|
+
* @default 'weekly'
|
|
40
|
+
*/
|
|
41
|
+
version?: string;
|
|
130
42
|
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
*/
|
|
140
|
-
drag?: Drag;
|
|
141
|
-
/**
|
|
142
|
-
* The map pane in which to render the overlay.
|
|
143
|
-
* @default 'floatPane'
|
|
144
|
-
*/
|
|
145
|
-
pane?: Pane | undefined;
|
|
146
|
-
/**
|
|
147
|
-
* The geographical coordinates of the overlay.
|
|
148
|
-
*/
|
|
149
|
-
position: LatLng;
|
|
150
|
-
/**
|
|
151
|
-
* The z-index of the overlay.
|
|
152
|
-
* @default 0
|
|
153
|
-
*/
|
|
154
|
-
zIndex?: number | 0;
|
|
43
|
+
/** Values passed to `onChange` every time the map settles after a pan or a zoom. */
|
|
44
|
+
interface MapChangeEvent {
|
|
45
|
+
/** Bounds as `[westLng, southLat, eastLng, northLat]`. */
|
|
46
|
+
bbox: BBox;
|
|
47
|
+
bounds: google.maps.LatLngBounds;
|
|
48
|
+
center: LatLngLiteral;
|
|
49
|
+
map: google.maps.Map;
|
|
50
|
+
zoom: number;
|
|
155
51
|
}
|
|
156
|
-
interface
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
container: HTMLDivElement;
|
|
161
|
-
/**
|
|
162
|
-
* The drag configuration of the overlay.
|
|
163
|
-
* @default { draggable: false }
|
|
164
|
-
*/
|
|
165
|
-
drag?: Drag;
|
|
166
|
-
/**
|
|
167
|
-
* The Google Maps API object.
|
|
168
|
-
*/
|
|
169
|
-
maps: MapContextProps['maps'];
|
|
170
|
-
/**
|
|
171
|
-
* The map pane in which to render the overlay.
|
|
172
|
-
* @default 'floatPane'
|
|
173
|
-
*/
|
|
174
|
-
pane: Pane;
|
|
175
|
-
/**
|
|
176
|
-
* The geographical coordinates of the overlay.
|
|
177
|
-
*/
|
|
178
|
-
position: LatLng;
|
|
52
|
+
interface MapLoadEvent {
|
|
53
|
+
map: google.maps.Map;
|
|
54
|
+
/** The `google.maps` namespace. */
|
|
55
|
+
maps: typeof google.maps;
|
|
179
56
|
}
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
57
|
+
type MapMouseHandler = (event: google.maps.MapMouseEvent, map: google.maps.Map) => void;
|
|
58
|
+
type MapHandler = (map: google.maps.Map) => void;
|
|
59
|
+
/** Google Maps events, exposed as props. Handlers always see your latest props. */
|
|
60
|
+
interface MapEventProps {
|
|
61
|
+
onBoundsChanged?: MapHandler;
|
|
62
|
+
onCenterChanged?: MapHandler;
|
|
63
|
+
onClick?: MapMouseHandler;
|
|
64
|
+
onContextMenu?: MapMouseHandler;
|
|
65
|
+
onDoubleClick?: MapMouseHandler;
|
|
66
|
+
onDrag?: MapHandler;
|
|
67
|
+
onDragEnd?: MapHandler;
|
|
68
|
+
onDragStart?: MapHandler;
|
|
69
|
+
onHeadingChanged?: MapHandler;
|
|
70
|
+
onIdle?: MapHandler;
|
|
71
|
+
onMapTypeIdChanged?: MapHandler;
|
|
72
|
+
onMouseMove?: MapMouseHandler;
|
|
73
|
+
onMouseOut?: MapMouseHandler;
|
|
74
|
+
onMouseOver?: MapMouseHandler;
|
|
75
|
+
onTilesLoaded?: MapHandler;
|
|
76
|
+
onTiltChanged?: MapHandler;
|
|
77
|
+
onZoomChanged?: MapHandler;
|
|
193
78
|
}
|
|
194
|
-
interface
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
79
|
+
interface GoogleMapProps extends GoogleMapsLoaderOptions, MapEventProps {
|
|
80
|
+
/**
|
|
81
|
+
* Controlled center. When it changes, the map moves there. Users can still pan:
|
|
82
|
+
* keep your state in sync with `onChange`.
|
|
83
|
+
*/
|
|
84
|
+
center?: LatLngLiteral;
|
|
85
|
+
/** Markers, controls and any component that uses `useMap()`. */
|
|
86
|
+
children?: ReactNode;
|
|
87
|
+
/** Class name of the outer container. Give it a height, or the map has none. */
|
|
88
|
+
className?: string;
|
|
89
|
+
/** Initial center, when `center` is not set. */
|
|
90
|
+
defaultCenter?: LatLngLiteral;
|
|
91
|
+
/** Initial zoom, when `zoom` is not set. */
|
|
92
|
+
defaultZoom?: number;
|
|
93
|
+
/**
|
|
94
|
+
* Rendered when the API fails to load or the API key is rejected.
|
|
95
|
+
* @default null
|
|
96
|
+
*/
|
|
97
|
+
errorContent?: ReactNode;
|
|
98
|
+
/** `id` of the outer container. */
|
|
99
|
+
id?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Rendered while the API is loading, and on the server.
|
|
102
|
+
* @default null
|
|
103
|
+
*/
|
|
104
|
+
loadingContent?: ReactNode;
|
|
105
|
+
/**
|
|
106
|
+
* Cloud map ID. Enables `AdvancedMarkerElement` markers and cloud-based styling.
|
|
107
|
+
* Changing it creates a new map.
|
|
108
|
+
*/
|
|
109
|
+
mapId?: string;
|
|
110
|
+
/**
|
|
111
|
+
* How `<Marker>` children are drawn.
|
|
112
|
+
* @default 'auto'
|
|
113
|
+
*/
|
|
114
|
+
markerRenderer?: MarkerRenderer;
|
|
115
|
+
/** Fired every time the map settles (`idle`) with a new center, zoom or bounds. */
|
|
116
|
+
onChange?: (event: MapChangeEvent) => void;
|
|
117
|
+
/** Fired once, when the map has been created. */
|
|
118
|
+
onLoad?: (event: MapLoadEvent) => void;
|
|
119
|
+
/**
|
|
120
|
+
* Any `google.maps.MapOptions`. Changes are applied with `map.setOptions()`.
|
|
121
|
+
* @see https://developers.google.com/maps/documentation/javascript/reference/map#MapOptions
|
|
122
|
+
*/
|
|
123
|
+
options?: Omit<google.maps.MapOptions, 'center' | 'zoom' | 'mapId'>;
|
|
124
|
+
/** Ref to the outer container `div`. */
|
|
125
|
+
ref?: Ref<HTMLDivElement>;
|
|
126
|
+
/** Style of the outer container, merged over `{ position: 'relative', width: '100%', height: '100%' }`. */
|
|
127
|
+
style?: CSSProperties;
|
|
128
|
+
/** Controlled zoom. Pair it with `onChange`. */
|
|
129
|
+
zoom?: number;
|
|
199
130
|
}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
* top: 0,
|
|
255
|
-
* margin: 0,
|
|
256
|
-
* padding: 0,
|
|
257
|
-
* position: 'absolute'
|
|
258
|
-
* }
|
|
259
|
-
*/
|
|
260
|
-
style?: React__default.CSSProperties;
|
|
131
|
+
type MarkerAnchorPreset = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
132
|
+
/**
|
|
133
|
+
* Which point of the marker sits on its coordinates.
|
|
134
|
+
* A preset, or `{ x, y }` as fractions of the marker size (`{ x: 0.5, y: 1 }` is bottom center).
|
|
135
|
+
*/
|
|
136
|
+
type MarkerAnchor = MarkerAnchorPreset | {
|
|
137
|
+
x: number;
|
|
138
|
+
y: number;
|
|
139
|
+
};
|
|
140
|
+
type MarkerDragHandler = (event: Event, data: {
|
|
141
|
+
latLng: LatLngLiteral;
|
|
142
|
+
}) => void;
|
|
143
|
+
interface MarkerProps {
|
|
144
|
+
/**
|
|
145
|
+
* Which point of the marker sits on `lat`/`lng`.
|
|
146
|
+
* @default 'center'
|
|
147
|
+
*/
|
|
148
|
+
anchor?: MarkerAnchor;
|
|
149
|
+
/** Any React content: this is your marker. */
|
|
150
|
+
children?: ReactNode;
|
|
151
|
+
/** Class name of the marker container. */
|
|
152
|
+
className?: string;
|
|
153
|
+
/**
|
|
154
|
+
* Collision behavior, `advanced` renderer only.
|
|
155
|
+
* @see https://developers.google.com/maps/documentation/javascript/reference/advanced-markers#AdvancedMarkerElementOptions.collisionBehavior
|
|
156
|
+
*/
|
|
157
|
+
collisionBehavior?: google.maps.CollisionBehaviorString;
|
|
158
|
+
/**
|
|
159
|
+
* Whether users can drag the marker: with mouse or touch, or from the keyboard
|
|
160
|
+
* (Alt + Enter, arrow keys, Enter to drop, Escape to cancel) on both renderers.
|
|
161
|
+
* @default false
|
|
162
|
+
*/
|
|
163
|
+
draggable?: boolean;
|
|
164
|
+
lat: number;
|
|
165
|
+
lng: number;
|
|
166
|
+
/**
|
|
167
|
+
* Fired on click, and on Enter or Space when the marker has keyboard focus.
|
|
168
|
+
* A clickable marker becomes a focusable button named by `title`. With the `overlay` renderer,
|
|
169
|
+
* content that already has its own button or link keeps the focus instead.
|
|
170
|
+
*/
|
|
171
|
+
onClick?: (event: Event) => void;
|
|
172
|
+
/** Fired repeatedly while dragging. */
|
|
173
|
+
onDrag?: MarkerDragHandler;
|
|
174
|
+
/** Fired when dragging ends. Update your `lat`/`lng` state here. */
|
|
175
|
+
onDragEnd?: MarkerDragHandler;
|
|
176
|
+
/** Fired when dragging starts. */
|
|
177
|
+
onDragStart?: MarkerDragHandler;
|
|
178
|
+
/**
|
|
179
|
+
* Accessible name of the marker, read by screen readers and shown as a tooltip.
|
|
180
|
+
* Give one to every clickable or draggable marker.
|
|
181
|
+
*/
|
|
182
|
+
title?: string;
|
|
183
|
+
/** Stacking order. Higher values are drawn on top. */
|
|
184
|
+
zIndex?: number;
|
|
261
185
|
}
|
|
262
|
-
interface
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
containerProps?: React__default.HTMLAttributes<HTMLDivElement>;
|
|
267
|
-
/**
|
|
268
|
-
* The content to be rendered when the script fails to load.
|
|
269
|
-
* @default 'Google Maps is on error'
|
|
270
|
-
*/
|
|
271
|
-
errorContent?: React__default.ReactNode;
|
|
272
|
-
/**
|
|
273
|
-
* The content to be rendered when the script is on idle.
|
|
274
|
-
* @default 'Google Maps is on idle'
|
|
275
|
-
*/
|
|
276
|
-
idleContent?: React__default.ReactNode;
|
|
277
|
-
/**
|
|
278
|
-
* The content to be rendered while the script is loading.
|
|
279
|
-
* @default 'Google Maps is loading'
|
|
280
|
-
*/
|
|
281
|
-
loadingContent?: React__default.ReactNode;
|
|
282
|
-
/**
|
|
283
|
-
* The minimum height of the map container.
|
|
284
|
-
* @default 'unset'
|
|
285
|
-
*/
|
|
286
|
-
mapMinHeight?: string;
|
|
287
|
-
/**
|
|
288
|
-
* The Google Maps API script callback
|
|
289
|
-
*/
|
|
290
|
-
scriptCallback?: () => void;
|
|
186
|
+
interface MapControlProps {
|
|
187
|
+
children?: ReactNode;
|
|
188
|
+
/** Where to place the control, for example `'TOP_RIGHT'`. */
|
|
189
|
+
position: keyof typeof google.maps.ControlPosition | google.maps.ControlPosition;
|
|
291
190
|
}
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
191
|
+
/**
|
|
192
|
+
* A Google Map. Renders `loadingContent` on the server and while the API loads, then the map.
|
|
193
|
+
* Put `<Marker>`, `<MapControl>` and components that use `useMap()` inside it.
|
|
194
|
+
*/
|
|
195
|
+
export declare const GoogleMap: (props: GoogleMapProps) => import("react").JSX.Element;
|
|
196
|
+
/**
|
|
197
|
+
* The `google.maps.Map` instance of the closest `<GoogleMap>`, or `null` while it is loading
|
|
198
|
+
* (and on the server). Throws when used outside `<GoogleMap>`: use its `onLoad` prop there.
|
|
199
|
+
*/
|
|
200
|
+
export declare const useMap: () => google.maps.Map | null;
|
|
201
|
+
/** Loading status of the Google Maps JavaScript API. Always `'loading'` on the server. */
|
|
202
|
+
export declare const useGoogleMapsStatus: () => GoogleMapsStatus;
|
|
203
|
+
/**
|
|
204
|
+
* Loads a Maps JavaScript API library, for example `useMapsLibrary('places')`.
|
|
205
|
+
* Returns `null` until it is loaded (and on the server). Works anywhere in the page,
|
|
206
|
+
* as soon as a `<GoogleMap>` has configured the loader.
|
|
207
|
+
*/
|
|
208
|
+
export declare const useMapsLibrary: <T extends keyof google.maps.ImportLibraryMap>(name: T) => google.maps.ImportLibraryMap[T] | null;
|
|
209
|
+
/** Renders React content as a native map control, for example `<MapControl position="TOP_RIGHT">`. */
|
|
210
|
+
export declare const MapControl: ({ position, children }: MapControlProps) => import("react").ReactPortal | null;
|
|
211
|
+
/**
|
|
212
|
+
* Renders any React content at `lat`/`lng`. Must be inside `<GoogleMap>`.
|
|
213
|
+
* Renders nothing on the server and until the map is ready.
|
|
214
|
+
*/
|
|
215
|
+
export declare const Marker: (props: MarkerProps) => import("react").ReactPortal | null;
|
|
216
|
+
export type { BBox, GoogleMapProps, GoogleMapsLoaderOptions, GoogleMapsStatus, LatLngLiteral, MapChangeEvent, MapControlProps, MapEventProps, MapLoadEvent, MarkerAnchor, MarkerAnchorPreset, MarkerDragHandler, MarkerProps, MarkerRenderer };
|