【问题标题】:Issue in passing multiple way points to Google map API将多个路点传递给 Google 地图 API 的问题
【发布时间】:2014-04-29 07:25:21
【问题描述】:

我正在尝试在起点和终点之间传递多个路径点,以便在收到响应时可以在 Google 地图上绘制路线。

这是我做的一个示例调用(在我原来的 API 调用中,有更多的路点):

https://maps.googleapis.com/maps/api/directions/json?origin=41.3758887,2.1745799999999917&waypoints=41.39097711845494,2.1807326361331434&41.38680260504134,2.188132850805232&41.38458293055814,2.1758925899657697&destination=41.38394800519846,2.166872321048686&sensor=true&mode=walking

上述格式是否适合通过多个航路点?

我面临的主要问题是路线没有经过我经过的所有路点。

我总是得到一个“waypoint_order”:[0]。

【问题讨论】:

    标签: android google-maps


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 2020-06-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-01-04
    • 2018-05-07
    • 2021-09-18
    相关资源
    最近更新 更多