# FieldMap

Where each decoded field comes from: a field name mapped to a dotted path
into a raw feature, such as `properties.mag` or `geometry.coordinates.2`.
`id` and `title` are required.

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

## Signature

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

## Properties

### id

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

The path to a value that identifies the feature, unique in the feed.

### title

```ts
readonly title: string;
```

The path to the value used as the feature's name.

## Index signatures

### (indexer)

```ts
readonly [field: string]: string;
```

Any further decoded field a template or style reads, by name, with its path.

- `field` (`string`)

Source: [packages/core/src/layers/definition.ts:203](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/definition.ts#L203)
