CountrySection

data class CountrySection(val geometry: List<GeoPoint>, val routeOffset: Distance, val length: Distance, val countryCode: String) : Section

Represents a route section indicating which countries the route is in.

Important: This is a Public Preview API. It may be changed or removed at any time.

See also

Parameters

countryCode

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

Constructors

Link copied to clipboard
fun CountrySection(geometry: List<GeoPoint>, routeOffset: Distance, length: Distance, countryCode: String)

Properties

Link copied to clipboard
Link copied to clipboard
open override val geometry: List<GeoPoint>

List of coordinates representing section.

Link copied to clipboard
open override val length: Distance

Distance from the the first point of geometry to the last point.

Link copied to clipboard
open override val routeOffset: Distance

Distance from the start of the route to the first point of geometry.