I am looking for a way to draw a route path on openstreetmap
in my android app.
I only have the start and end points, however do not want just a straight line.
Any ideas on how I could do this?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
For obtaining a route you can use one of the various online routers for OSM. Many of them offer a GPX export of the calculated route which you then can display in your application.
回答2:
Have you looked at the Open Street Map wiki, including the Traveling Salesman example: http://wiki.openstreetmap.org/wiki/Traveling_salesman