MotorwaySection

constructor(sectionLocation: SectionLocation, routeOffset: Distance, length: Distance)


constructor(geometry: List<GeoPoint>, routeOffset: Distance, length: Distance)

Deprecated

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

Constructs a MotorwaySection 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.