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.
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