VMERouteResult

data class VMERouteResult(destinations: <ERROR CLASS><Any>, duration: Double, length: Double, segments: <ERROR CLASS><VMESegment>)

Contains information related to a computed route.

Since

1.19

Constructors

Link copied to clipboard
fun VMERouteResult(destinations: <ERROR CLASS><Any>, duration: Double, length: Double, segments: <ERROR CLASS><VMESegment>)

Properties

Link copied to clipboard
var destinations: <ERROR CLASS><Any>

An array of destinations in the order that they will be visited. If there was an invalid origin or destination in the request, it will be removed from this array.

Link copied to clipboard
var duration: Double

Gets the duration (seconds) of the route.

Link copied to clipboard
var length: Double

Retrieves the length (metres) of the route.

Link copied to clipboard
var segments: <ERROR CLASS><VMESegment>

Retrieves an array of segments that make up the route.