# DirectionsOverlay

The stops of a set of directions, drawn as lettered discs, and the crosshair
that shows where the next stop goes when it is added at the map centre.
Render it inside `MapOverlayLayer`. Like every overlay it is a picture of
state the panel gives in words, and the letters mean it never depends on
colour.

This is a function exported by `@mapcairn/map`, checked against version 0.2.0.

## Signature

```ts
import { DirectionsOverlay } from "@mapcairn/map";
 
function DirectionsOverlay(input: DirectionsOverlayProps): JSX.Element | null;
```

## Parameters

- `{ stops, showCrosshair, testId, }`
- `input` (`DirectionsOverlayProps`)

## Returns

`JSX.Element | null`

## See also

- [`DirectionsOverlayProps`](https://docs.mapcairn.com/api/map/DirectionsOverlayProps.md)

Source: [packages/map/src/tools/Directions/DirectionsOverlay.tsx:32](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/tools/Directions/DirectionsOverlay.tsx#L32)
