我不明白为什么这条路如此罕见。它看起来确实像两点之间的最短路径。以及为什么没有一个而不是两个平行的线。
任何帮助表示赞赏。谢谢
在您的请求中添加Alternatives = false。
例如
(https://maps.googleapis.com/maps/api/directions/json?origin=place_id:ChIJIQBpAG2ahYAR_6128GcTUEo&destination=place_id:ChIJVVVVVYx3j4ARP-3NGldc8qQ&alternatives = false&key = xxxxxx)
它会给你一条路。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句