VMERouteResult | ( | Collection< Object > | destinations, |
double | duration, | ||
double | length, | ||
Collection< VMESegment > | path | ||
) |
Instantiates a route result object.
destinations | An array of destinations in the order that they will be visited. |
duration | The duration (seconds) of the route. |
length | The length (metres) of the route. |
path | An array of positions that make up the segment |