end property

ORSCoordinate? end
final

ORSCoordinate object describing the end location of this vehicle.

start and end are optional for a vehicle, as long as at least one of them is present. If end is omitted, the resulting route will stop at the last visited task, whose choice is determined by the optimization process

To request a round trip, just specify both start and end with the same coordinates.

Implementation

final ORSCoordinate? end;