finding route directions from source to destinaton in android

守給你的承諾、 提交于 2019-12-09 22:04:14

问题


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..


回答1:


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



来源:https://stackoverflow.com/questions/4836468/finding-route-directions-from-source-to-destinaton-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!