Search code examples
androidgoogle-mapsgoogle-maps-api-2

Google Maps API (for Android): Can I get directions to *avoid* a waypoint?


I see that there are decent instructions for setting directions going through one or more waypoints, but can is there a way to avoid a location?

For example, let's say I am trying to get directions from Wichita, KS to Denver, CO (as here: https://goo.gl/oziVIS). But let's say I want to avoid going through Byers, CO (the small town at the center of the map here: https://goo.gl/K1bDAh). Is there a way I can do through the Directions API (or maybe the Maps APIv2)?

I'd be happy with something like, "don't come within 10 miles of this lat/long".


Solution

  • Apparently the answer is, "No" (or maybe "Not yet").

    Based on the comment above, and the feature request here: https://code.google.com/p/gmaps-api-issues/issues/detail?id=214