# MapHandleDrag

One step of a press on an edit handle. A press that starts on a handle
never pans the map and never produces a `click`.

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

## Signature

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

## Properties

### id

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

The handle that was pressed, as it was when the press began.

### latlng

```ts
readonly latlng: LatLng;
```

Where the pointer is.

### moved

```ts
readonly moved: boolean;
```

True once the pointer has travelled beyond the click tolerance since it
went down. An `end` with `moved` false is a tap on the handle.

### phase

```ts
readonly phase: "start" | "move" | "end";
```

`start` when the pointer goes down on the handle, `move` while it travels
(only once it has left the click tolerance), `end` when it is released
or cancelled.

## See also

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

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