【发布时间】:2016-12-22 00:11:17
【问题描述】:
我研究了所有以前的问题,但没有找到解决方案。我正在研究 Google Directions API,以在 android 中绘制路线。我从 Google Places 获取地址,它绘制了一条路线,但有很多地方 Directions 没有返回结果。虽然我检查了谷歌地图和其他一些应用程序,但它们呈现相同的地址。然后我在浏览器中尝试了简单的查询,但问题保持不变。请帮助我我被困在这里,我会非常感谢你。来源地址是problamatic 这是我的查询
https://maps.googleapis.com/maps/api/directions/json?origin=University%20of%20gujrat,gujrat,punjab,pakistan&destination=gujranwala,punjab,pakistan&key=
示例地址是“Gujrat, Gujrat, Punjab,Pakistan 的大学” 我正在附加浏览器输出。提前致谢。
【问题讨论】:
-
我得到了完整的答复。点击此链接:maps.googleapis.com/maps/api/directions/…
标签: android google-maps google-maps-api-3 directions google-directions-api