# PinMarker

A dropped pin, drawn in the overlay layer and re-projected whenever the view
changes. It is not drawn while it is on the far side of a globe, and on a
flat map it is drawn on the copy of the world nearest the view centre.
Render it inside `MapOverlayLayer`.

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

## Signature

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

## Parameters

- `{ position, testId }`
- `input` (`PinMarkerProps`)

## Returns

`JSX.Element | null`

## See also

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

Source: [packages/map/src/host/overlays/PinMarker.tsx:37](https://github.com/MapCairn/mapcairn/blob/main/packages/map/src/host/overlays/PinMarker.tsx#L37)
