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

Search along the route

Search along the route

Allow your users to search for POI along a planned route so they can add places to their rides optimally.
The Along Route Search endpoint allows you to perform a fuzzy search for POIs along a specified route. This search is constrained by specifying the detour time and limiting the number of results. The minimum number of route points is 2.

Sample use case 1: You are driving from Amsterdam to Haarlem and you would like to find a gas station or EV station to fuel or charge your car during your drive.
Sample use case 2: Planning your next trip you would like add a car repair station so you can fix something in your vehicle to drive safely.

Use the code below to display 10 POIs along a route with maximum detour time of 900 sec:

TTAlongRouteSearchQuery *alongRouteSearchQuery = [[[[TTAlongRouteSearchQueryBuilder alloc] initWithTerm:term withRoute:self.resoultRoute.routes.firstObject withMaxDetourTime:900] withLimit:10] build];

[self.alongRouteSearch searchWithQuery:alongRouteSearchQuery withAsyncDelegate:self];


image

With term "REPAIR_FACILITY"
 

image

With term "PETROL_STATION"
 

image

With term "ELECTRIC_VEHICLE_STATION"
 

You are here