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&destinationto to denote the starting and end locations of the tripwaypointswith location coordinates of 3 stopsmodeset to “car” to get a route which a car can takeapproachesparameter specifying “curbside” approach for all stops including the destination
Request
Response
Following is a visual representation of the above route on a map
