Skip to main content

MapClickEvent

A pointer click on the map.

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

Signature​

import type { MapClickEvent } from "@mapcairn/core";

interface MapClickEvent

Properties​

features​

readonly features?: readonly Readonly<Record<string, unknown>>[];

Opaque descriptions of the rendered features under the pointer.

latlng​

readonly latlng: LatLng;

The position that was clicked or tapped.

point​

readonly point: PixelPoint;

The same place in pixels from the top left of the map host.

See also​

Source: packages/core/src/ports/map.ts:65