Approach destinations on curbside
Implement Using: Directions Fast API
In this example, we will make a Directions Fast request to get a route where all stops are to be approached from the driving side only. We use the approaches
parameter to configure the approach direction for each stop on the route. We prepare the request by adding:
origin
&destination
to to denote the starting and end locations of the tripwaypoints
with location coordinates of 3 stopsmode
set to “car” to get a route which a car can takeapproaches
parameter specifying “curbside” approach for all stops including the destination
Request
Response
Following is a visual representation of the above route on a map