Google 地图 API(对于 Android):我可以获取*避开*航路点的路线吗?
Google Maps API (for Android): Can I get directions to *avoid* a waypoint?
我看到有关于设置方向 到 一个或多个 waypoints 的不错的说明,但是有没有办法避免 一个位置?
例如,假设我正在尝试获取从堪萨斯州威奇托到科罗拉多州丹佛的路线(如此处: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)。有什么方法可以让我通过路线 API(或者地图 APIv2)来完成吗?
我很乐意 "don't come within 10 miles of this lat/long"。
显然答案是 "No"(或者 "Not yet")。
根据上面的评论和此处的功能请求:https://code.google.com/p/gmaps-api-issues/issues/detail?id=214
我看到有关于设置方向 到 一个或多个 waypoints 的不错的说明,但是有没有办法避免 一个位置?
例如,假设我正在尝试获取从堪萨斯州威奇托到科罗拉多州丹佛的路线(如此处: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)。有什么方法可以让我通过路线 API(或者地图 APIv2)来完成吗?
我很乐意 "don't come within 10 miles of this lat/long"。
显然答案是 "No"(或者 "Not yet")。
根据上面的评论和此处的功能请求:https://code.google.com/p/gmaps-api-issues/issues/detail?id=214