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
import type { MapEditHandle } from "@mapcairn/core";
interface MapEditHandle
Properties
id
readonly id: string;
Names the handle in handleDrag and handleHover. Unique among the handles set.
kind
readonly kind: MapEditHandleKind;
What the handle stands for: a vertex, the midpoint of an edge or a circle's radius.
position
readonly position: LatLng;
Where the handle sits on the map.