在android中查找从源到目的地的路线方向
我是android新手,我已经成功编写了显示谷歌地图的代码,我可以给出源地址和目标地址,并使用反向地理编码概念将图钉放置在那里......
场景是我想显示驾驶,从源点到目的地点的步行、骑自行车路线,并显示从源点到目的地的线路。
I am new to android, i have managed to write code that displays the google map, i can able to give source and destination addresses and place push pin over there using reverse Geocode concept...
the scenario is i want to display the driving,walking,bicycling directions from source to destination point with displaying a line from source to destination..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,Android 版 Google 地图中没有路线计算功能。此外,Google 地图服务条款,第 8.7 条。
对于替代方法,请查看:J2ME/Android/BlackBerry -行车路线,两个地点之间的路线
AFAIK there is no route calculation functionality in Google Maps for Android. Furthermore, live route calculations for navigation are not allowed by Google Maps terms of service, article 8.7.
For alternative approach take a look at: J2ME/Android/BlackBerry - driving directions, route between two locations