LaneSection

constructor(geometry: List<GeoPoint>, routeOffset: Distance, length: Distance, lanes: List<Lane>, laneSeparators: List<LaneSeparator>)

Parameters

lanes

Ordered list of lanes in the section. The lanes are listed in order from curb side to middle side. Each contains a list of directions reachable from the lane, and optionally one recommended direction for the driver to follow.

laneSeparators

Ordered list of lane separators in the section. The separators are listed in order from curb side to middle side. Separators that are shared between adjacent lanes are listed only once. Therefore there must be one more separator than the number of lanes.