# Markers

Marker preset. Defaults depend on the role: plain point → `pin`, route start → `ring`, route finish → `flag`.

Set a preset with `marker:<shape>` inside `poi=`, `frommarker`/`tomarker` for routes, or `marker.shape` in the JSON body. Colors, sizes and outlines can be overridden per marker.

## Presets

| Preset | Swatch | Default size (px) | Default outline (px) | Default for |
|---|---|---|---|---|
| `pin` | ![pin](/docs/images/markers/pin.svg) | 24 | 1 | `point` |
| `dot` | ![dot](/docs/images/markers/dot.svg) | 11 | 1.5 | — |
| `ring` | ![ring](/docs/images/markers/ring.svg) | 13 | 0 | `start` |
| `flag` | ![flag](/docs/images/markers/flag.svg) | 20 | 0 | `finish` |
| `triangle` | ![triangle](/docs/images/markers/triangle.svg) | 14 | 0 | — |
| `circle` | ![circle](/docs/images/markers/circle.svg) | 12 | 0 | — |
| `square` | ![square](/docs/images/markers/square.svg) | 12 | 0 | — |
| `star` | ![star](/docs/images/markers/star.svg) | 16 | 0 | — |
| `diamond` | ![diamond](/docs/images/markers/diamond.svg) | 14 | 0 | — |

Swatches show each preset in the default point color.

## Role defaults

| Role | Swatch | Shape | Color | Size (px) |
|---|---|---|---|---|
| `point` | ![point marker](/docs/images/markers/role-point.svg) | `pin` | `#e02020` | 24 |
| `start` | ![start marker](/docs/images/markers/role-start.svg) | `ring` | `#1a1a1a` | 13 |
| `finish` | ![finish marker](/docs/images/markers/role-finish.svg) | `flag` | `#1a1a1a` | 20 |

Route start and finish markers take the basemap theme's label color instead of the color above (see [Presets](/docs/reference/presets.md#text-defaults)).
