We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
The community reviewed whether to reopen this question last year and left it closed:
Original close reason(s) were not resolved
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
您可以使用开放路由服务 https://openrouteservice.org/
它有一个 API (docs),有全面的描述并且是免费的。
You can use the Open Route Service https://openrouteservice.org/
It has an API (docs) that has a comprehensive description and is free.
OpenStreetMap 项目没有直接提供任何内容,但使用 OpenSteeetMap 数据提供了其他选项,例如 MapQuest 开放路线 API 服务。
There is nothing provided directly by the OpenStreetMap project, but there are other options provided using OpenSteeetMap data such as the MapQuest Open Directions API Service.
参考您的问题和Android在openstreetmap上绘制路线我发现YOURS api,免费使用。
这是我用来替换 Google 的 Direction Api 的示例请求:
http://www.yournavigation.org/api/1.0/gosmore.php?flat=28.6337465&flon=77.35780799999999&tlat=28.6388179&tlon=77.3606496&format=geojson
In reference to your question and Android draw route on openstreetmap I found YOURS api which is free for use.
Here is a sample request i used in replacement of Google's Direction Api:
http://www.yournavigation.org/api/1.0/gosmore.php?flat=28.6337465&flon=77.35780799999999&tlat=28.6388179&tlon=77.3606496&format=geojson