CountrySection

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


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

Deprecated

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

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

countryCode

3-character ISO 3166-1 alpha-3 country code.