# LayerFeature

One decoded feature: an id, its geometry and the fields its definition maps.

This is an interface exported by `@mapcairn/sdk/browser`, checked against version 0.2.0.

## Signature

```ts
import type { LayerFeature } from "@mapcairn/sdk/browser";
 
interface LayerFeature
```

## Properties

### fields

```ts
readonly fields: Readonly<Record<string, FieldValue>>;
```

The decoded values the layer's definition maps, by field name.

### geometry

```ts
readonly geometry: LayerGeometry;
```

Where the feature is and what shape it has.

### id

```ts
readonly id: string;
```

Unique inside one load of one layer.

## See also

- [`FieldValue`](https://docs.mapcairn.com/api/sdk/browser/FieldValue.md)
- [`LayerGeometry`](https://docs.mapcairn.com/api/sdk/browser/LayerGeometry.md)
