Graphhopper Web Waypoint Order

Hi,

I’m currently looking into route optimization and my understanding was that the directions API which provides this service is paid for. However, when I am looking at my local instance in the web view and add via locations, their order is optimised as I add them.


When I add a point in the middle it correctly optimises.

I can’t find what is doing this, there is no network call going out, the /route request already has the points in order before the request fires.

Thanks!

This is done by the web client: It insert via points between the two existing way points that are connected by the road segment that comes closest to the click location.