# 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

```ts
import { usePlacement } from "@mapcairn/map";
 
function usePlacement(): MapPlacement | null;
```

## Returns

`MapPlacement | null`

## See also

- [`MapPlacement`](https://docs.mapcairn.com/api/core/MapPlacement.md)

Source: [packages/map/src/host/overlays/geometry.ts:51](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/host/overlays/geometry.ts#L51)
