Wherebox
Get API key

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 pin 24 1 point
dot dot 11 1.5 —
ring ring 13 0 start
flag flag 20 0 finish
triangle triangle 14 0 —
circle circle 12 0 —
square square 12 0 —
star star 16 0 —
diamond diamond 14 0 —

Swatches show each preset in the default point color.

Role defaults#

Role Swatch Shape Color Size (px)
point point marker pin #e02020 24
start start marker ring #1a1a1a 13
finish finish marker flag #1a1a1a 20

Route start and finish markers take the basemap theme's label color instead of the color above (see Presets).