# 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

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

## Properties

### featureId

```ts
readonly featureId: string;
```

The id of the feature in that layer.

### layerId

```ts
readonly layerId: string;
```

The id the layer was drawn under.

Source: [packages/core/src/ports/map.ts:302](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/ports/map.ts#L302)
