问题
The API has a parameter for waypoints in order for The API to calculate the route ang pass through the specified waypoint/s. Is there any way where I could give the waypoints to avoid instead of waypoints to pass through?
回答1:
It isn't (currently) implemented. There is an open feature request: Issue 214: Ability to influence Directions (e.g. "avoid" / "roadblock").
来源:https://stackoverflow.com/questions/36272322/is-there-a-way-to-avoid-a-specific-road-or-coordinate-in-google-directions