简体   繁体   中英

Is there a way to avoid a specific road or coordinate in Google Directions?

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?

It isn't (currently) implemented. There is an open feature request:Issue 214: Ability to influence Directions (eg "avoid" / "roadblock") .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM