ProjectedRouteSection

data class ProjectedRouteSection(val mapPositions: List<MapPosition>, val startBoundary: Boundary, val endBoundary: Boundary, val startOffset: Distance = Distance.ZERO, val endOffset: Distance = Distance.ZERO)

Describes part of the projected route.

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

Parameters

mapPositions

A list of map positions that describe the section.

startBoundary

Start boundary of the current section.

endBoundary

End boundary of the current section.

startOffset

An offset from the start of the route to the start of the section.

endOffset

An offset from the start of the route to the end of the section.

Constructors

Link copied to clipboard
constructor(mapPositions: List<MapPosition>, startBoundary: Boundary, endBoundary: Boundary, startOffset: Distance = Distance.ZERO, endOffset: Distance = Distance.ZERO)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val mapPositions: List<MapPosition>
Link copied to clipboard
Link copied to clipboard