Function: useMap()
useMap(
options?):object
Defined in: useMap.ts:6
Parameters
| Parameter | Type |
|---|---|
options | MapOptions |
Returns
map
map:
Map|null
Returns the map object which provides access to the Google Maps API.
ref
ref:
MutableRefObject<HTMLDivElement|null>
Returns the ref object which provides access to the HTMLDivElement element that the map is rendered in.