GraphHopper.com | Forum | GitHub | Maps | Blog

Set end as non start(closed)


#1

Hi,
I wand to start at start location X and end at another location Y.
Is ist possible to set a specific end location Y for one vehicle? How?
Regards
Volker


#3

Hi Volker,

you can simply build a vehicle with individual start and end locations, like

VehicleImpl.Builder.newInstance("somevehicle")
                   .setStartLocation(startLoc)
                   .setEndLocation(endLoc)
                   .setType(someType)
                   .build()

Best Chris


#4

thanks