# MarkerStyle

How one feature is drawn, worked out from its definition's style.

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

## Signature

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

## Properties

### colour

```ts
readonly colour: PaletteSlot;
```

The palette slot the marker is filled with.

### label

```ts
readonly label: DefinitionText;
```

The words for the colour, such as `Orange alert`, for the list and card,
as the definition writes them: a message key, a host text or a plain
string, which `resolveText` turns into text in the active language.

### radius

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

The marker's radius in CSS pixels.

### shape

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

The marker's shape.

## See also

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

Source: [packages/core/src/layers/style.ts:27](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/style.ts#L27)
