Function: useMap()
useMap(
options
):object
Defined in: packages/google-maps/src/useMap.ts:6
Parameters
options
MapOptions
= {}
Returns
object
map
map:
null
|Map
Returns the map object which provides access to the Google Maps API.
ref
ref:
MutableRefObject
<null
|HTMLDivElement
>
Returns the ref object which provides access to the HTMLDivElement element that the map is rendered in.