# MapEditHandle

A point the person can press and drag, such as the vertex of a shape being
edited. The ui draws the handle itself; the adapter only owns the gesture,
because only the engine can stop a press from also panning the map.

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

## Signature

```ts
import type { MapEditHandle } from "@mapcairn/core";
 
interface MapEditHandle
```

## Properties

### id

```ts
readonly id: string;
```

Names the handle in `handleDrag` and `handleHover`. Unique among the handles set.

### kind

```ts
readonly kind: MapEditHandleKind;
```

What the handle stands for: a `vertex`, the `midpoint` of an edge or a circle's `radius`.

### position

```ts
readonly position: LatLng;
```

Where the handle sits on the map.

## See also

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

Source: [packages/core/src/ports/map.ts:412](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/ports/map.ts#L412)
