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

Travel modes

Travel modes

Allow your users to plan a route for different travel modes.

Sample use case: You want to check what travel mode (car or truck) gives you the best ETA for a trip from Amsterdam to Rotterdam.

_

let query = TTRouteQueryBuilder.create(withDest: TTCoordinate.AMSTERDAM(), andOrig: TTCoordinate.ROTTERDAM())
    .withTravelMode(.car)
    .build()
routePlanner.plan(with: query)
TTRouteQuery *query =
    [[[TTRouteQueryBuilder createWithDest:[TTCoordinate AMSTERDAM]
                                  andOrig:[TTCoordinate ROTTERDAM]]
        withTravelMode:TTOptionTravelModeCar] build];
[self.routePlanner planRouteWithQuery:query];

 



image

Travel mode car.

image

Travel mode truck.

image

Travel mode pedestrian.

You are here