# FreeCentre

What [`useFreeCentre`](https://docs.mapcairn.com/api/map/useFreeCentre.md) returns.

This is an interface exported by `@mapcairn/map`, checked against version 0.2.0.

## Signature

```ts
import type { FreeCentre } from "@mapcairn/map";
 
interface FreeCentre
```

## Properties

### pixel

```ts
readonly pixel: PixelPoint | null;
```

The middle of the part of the map the sheet or side panel leaves free, in
pixels, or the middle of the whole map before the chrome has measured.
Null before the map has mounted.

### position

```ts
readonly position: () => LatLng | null;
```

The place under [`FreeCentre`](https://docs.mapcairn.com/api/map/FreeCentre.md), read when asked, or null before the map has mounted.

## See also

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

Source: [packages/map/src/tools/Directions/useFreeCentre.ts:11](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/tools/Directions/useFreeCentre.ts#L11)
