Sorry, you need to enable JavaScript to visit this website.

Routing with waypoints

Routing with waypoints

Allow your users to plan a route with up to 50 waypoints. Help your users to get the best route through all their stops in the optimal order.

Sample use case: You plan a trip from the TomTom office in Amsterdam to the office in Berlin. There are a few places that you would like to visit on during the drive. You would like to check if your preferred route is the best way to visit all of the places in the shortest time. To do this, input the coordinates as waypoints and call the routing module using the withComputeBestOrder paramater.

In the example below the route is from Amsterdam to Berlin using withComputeBestOrder parameters.

_query = [[[[[TTRouteQueryBuilder createWithDest:COORDINATE_BERLIN andOrig:COORDINATE_AMSTERDAM]
                                 withComputeBestOrder:NO] withTraffic:NO]build];

[_routePlanner planRouteWithQuery:_query];

Initial order.


Best order.