LaneSection

constructor(sectionLocation: SectionLocation, routeOffset: Distance, length: Distance, lanes: List<Lane>, laneSeparators: List<LaneSeparator>)


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

Deprecated

This API is deprecated and will be removed with the next major release.

Constructs a LaneSection object with the given parameters.

Parameters

geometry

List of GeoPoints representing the section.

routeOffset

Distance from the start of the route to the start point of the sectionLocation.

length

Distance from the the start point to the end point of the sectionLocation.

lanes

Ordered list of lanes in the section.

laneSeparators

Ordered list of lane separators in the section.