pressHandle
Starts a gesture when a press at at lands on a handle, or returns null
for a press on the bare map. Both map adapters use this, so a press means
the same on either.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { pressHandle } from "@mapcairn/core";
function pressHandle(handles: readonly ProjectedHandle[], at: PixelPoint, pointer: HandlePointer): HandleGesture | null;
Parameters
handles(readonly ProjectedHandle[])at(PixelPoint)pointer(HandlePointer)
Returns
HandleGesture | null