Function: useMap()
useMap(
options):object
Defined in: useMap.ts:6
Parameters
options
MapOptions = {}
Returns
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.