# MapFeature

One point of a feed layer, with its look already worked out from the
layer's style, so the adapter draws without knowing any style rule.

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

## Signature

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

## Properties

### colour

```ts
readonly colour: string;
```

A hex colour, such as `#e69f00`.

### id

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

Unique among the features of one layer. It names the feature in a tap.

### position

```ts
readonly position: LatLng;
```

Where the point is drawn.

### radius

```ts
readonly radius: number;
```

Radius in CSS pixels.

### shape

```ts
readonly shape: MarkerShape;
```

The marker's shape.

## See also

- [`LatLng`](https://docs.mapcairn.com/api/core/LatLng.md)
- [`MarkerShape`](https://docs.mapcairn.com/api/core/MarkerShape.md)

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