Function: useMap()
useMap(
options
):object
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.