OptionalcolorColour of the connection lines, over the module's PlacesModuleConfig.color. Unset, they take that colour, else the map's accent, else a blue that follows the light/dark theme.
OptionalhaloColour of the halo around the labels. Unset: '#FFFFFF' on a light map, '#333333' on a dark
one, as for the places' own labels.
OptionallabelFunction returning the text to display along the connection line.
Receives the original PlaceConnectionDisplay (including any custom metadata). When omitted, no label is rendered.
OptionallayersCustom MapLibre layer specifications for connection line and label.
OptionaltextColour of the labels along the lines. Unset: a darker shade of the line colour on a light map, a lighter one on a dark map.
Configuration for rendering connection lines between places.
Remarks
Controls the appearance of connection lines, the optional label drawn along each line, and MapLibre layer overrides.
Example