Generated from code
On this page
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 |
24 | 1 | point |
|
dot |
11 | 1.5 | — | |
ring |
13 | 0 | start |
|
flag |
20 | 0 | finish |
|
triangle |
14 | 0 | — | |
circle |
12 | 0 | — | |
square |
12 | 0 | — | |
star |
16 | 0 | — | |
diamond |
14 | 0 | — |
Swatches show each preset in the default point color.
Role defaults#
| Role | Swatch | Shape | Color | Size (px) |
|---|---|---|---|---|
point |
pin |
#e02020 |
24 | |
start |
ring |
#1a1a1a |
13 | |
finish |
flag |
#1a1a1a |
20 |
Route start and finish markers take the basemap theme's label color instead of the color above (see Presets).