Skip to main content

MapLongPressEvent

Where a long-press (or right-click) happened.

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

Signature​

import type { MapLongPressEvent } from "@mapcairn/map";

interface MapLongPressEvent

Properties​

latlng​

readonly latlng: LatLng;

The map position under the press.

point​

readonly point: PixelPoint;

Pixels from the top-left corner of the map host.

See also​

Source: packages/map/src/host/useLongPress.ts:21