Segment

fun Segment(start: RouteCoordinate, end: RouteCoordinate)

Parameters

start

The starting coordinate of the line segment.

end

The end coordinate of the line segment.

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