Skip to main content

MapFeatureHit

One feature of a data layer under a tap.

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

Signature​

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

interface MapFeatureHit

Properties​

featureId​

readonly featureId: string;

The id of the feature in that layer.

layerId​

readonly layerId: string;

The id the layer was drawn under.

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