Backed by a symbol layer over the section's own source: the generated section types get one
added, and the types that already draw an icon (ferry, tollRoad) have theirs replaced.
The id of an image in the loaded style's sprite, e.g. poi-toll_plaza. An id the sprite does
not carry draws nothing.
Optionalplacement
placement?:"center"|"along"
Where the icon sits on the section.
Remarks
center: one icon at the middle of each section.
along: icons repeated along the section.
A section is a stretch of line, so there is no placement at its start: MapLibre places
symbols on a line either once at its centre or repeatedly along it.
Default Value
"center"
Optionalsize
size?:number
Icon scale, where 1 is the sprite image's own size.
The icon drawn on a route section.
Remarks
Backed by a symbol layer over the section's own source: the generated section types get one added, and the types that already draw an icon (
ferry,tollRoad) have theirs replaced.