Skip to main content

MapFeatureTap

A tap or click on a point, polygon or line of a feed layer: the topmost feature, and every feature under the tap (it included), topmost first and listed once each.

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

Signature​

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

interface MapFeatureTap extends MapFeatureHit

Properties​

hits​

readonly hits: readonly MapFeatureHit[];

Every feature found at the tap, topmost first. The first is the one a tap would open.

See also​

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