useMap
Returns the live map. Throws outside a MapView, because a missing map is a
wiring bug, not a runtime condition.
This is a function exported by @mapcairn/map, checked against version 0.2.0.
Signature
import { useMap } from "@mapcairn/map";
function useMap(): MapContextValue;
Returns
MapContextValue