Google Directions API 允许我们尝试通过提供参数& avoid = tolls 避免收费。
另外,我们可以试图通过提供参数& avoid = highways 避免高速公路。
我想知道
它是& avoid = tolls | highways 如何提供避免收费和高速公路的参数?或& avoid = tolls,highways ?
解决方案& avoid =过路费|高速公路
搜索avoid = tolls | highways | ferries: developers.google/maps/documentation/directions/
Google Directions API allows us to attempt to avoid tolls by supplying the argument &avoid=tolls.
Also, we can attempt to avoid highways by supplying the argument &avoid=highways.
I was wondering how do I supply the arguments for avoiding both tolls and highways?
Is it &avoid=tolls|highways or &avoid=tolls,highways ?
解决方案&avoid=tolls|highways
Search for "avoid=tolls|highways|ferries" on: developers.google/maps/documentation/directions/
更多推荐
如何避免收费和高速公路限制Google Directions API?
发布评论