# CentreCrosshairProps

Props for [`CentreCrosshair`](https://docs.mapcairn.com/api/map/CentreCrosshair.md).

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

## Signature

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

## Properties

### at

```ts
readonly at?: {
        readonly x: number;
        readonly y: number;
    };
```

Where to draw it, in pixels from the map's top left. Defaults to the
centre of the whole map; a tool whose panel covers part of the map passes
the middle of what is left.

### testId

```ts
readonly testId?: string;
```

Sets `data-testid` on the crosshair.

Source: [packages/map/src/host/overlays/CentreCrosshair.tsx:11](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/host/overlays/CentreCrosshair.tsx#L11)
