We have a hand-crafted API client (client-hc
) for several API parts like the Matrix and Routing API that is more memory efficient
e.g. for large matrices than the autogenerated client. To use this project
include the following Maven snippet:
<dependency>
<groupId>com.graphhopper</groupId>
<artifactId>directions-api-client-hc</artifactId>
<version>[CURRENT-VERSION]</version>
</dependency>
A real world example for the Routing and Matrix API can be found here.
Apache License 2.0
You can use the API client for many API parts:
For the Route Optimization API you can create the sources from our OpenAPI spec. See this repository for more details about it.
It is important to use this client not on the main thread of Android as it could block the app. See issue 7 for more information.
The OSM OSMBonusPack also has an Android client written from the community. It also supports online map tiles. You can see this code in action in Geopaparazzi, OSMNavigator and more
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。