usePlacement
The placement every overlay uses: the live adapter, the current view and the map shape, or null before the map has mounted. Read it inside the map context.
This is a function exported by @mapcairn/map, checked against version 0.2.0.
Signature
import { usePlacement } from "@mapcairn/map";
function usePlacement(): MapPlacement | null;
Returns
MapPlacement | null