How to show multiple place route according to best Route in google map android

大城市里の小女人 提交于 2019-12-24 08:00:28

问题


I want to show a route between multiple lat long on android.I can show route between two point.But I want to show multiple points route according to best route path in google map.Like this site Click here. I am using android native programming .

Thank in advance..


回答1:


Use the Google Directions API and construct your directions request with waypoints. From the API docs "Waypoints allow you to calculate routes through additional locations."

See - Using Waypoints in Routes



来源:https://stackoverflow.com/questions/14398697/how-to-show-multiple-place-route-according-to-best-route-in-google-map-android

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