Departure/Arrival time
Departure/Arrival time
Allow your users to plan a route for a specific arrival or departure time so they can use this information to adjust their commute plans.
Sample use case: You have a busy schedule and need to plan your day carefully. You use the arrival at option to learn when you need to leave in order to be at a specific place at a specific time. You then use depart at to know your ETA for your next appointment.
In the example below, you can see a sample implementation using the arrive at and depart at parameters for a trip from Amsterdam to Rotterdam. The example uses a standard date/time picker widget.
self.query = [[[[TTRouteQueryBuilder createWithDest:COORDINATE_ROTTERDAM andOrig:COORDINATE_AMSTERDAM]
withDepartAt: date]withTraffic:NO]
build];
self.query = [[[[TTRouteQueryBuilder createWithDest:COORDINATE_ROTTERDAM andOrig:COORDINATE_AMSTERDAM]
withArriveAt: date]
withTraffic:NO]
build];
![]() One alternative. |
![]() Five alternatives. |