VMERoute Result
data class VMERouteResult(var destinations: ArrayList<Any>, var duration: Double, var length: Double, var segments: ArrayList<VMESegment>, val destinationDetails: List<VMEDestinationDetail> = emptyList())(source)
Contains information related to a computed route.
Since
1.19
Constructors
Link copied to clipboard
constructor(destinations: ArrayList<Any>, duration: Double, length: Double, segments: ArrayList<VMESegment>, destinationDetails: List<VMEDestinationDetail> = emptyList())
Properties
Link copied to clipboard
An array of route details for closest mode.
Link copied to clipboard
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
Retrieves an array of segments that make up the route.