3 Star 0 Fork 2

mirrors_graphhopper/graphhopper

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Handcrafted Java and Android client for the GraphHopper Directions API

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>

Usage

A real world example for the Routing and Matrix API can be found here.

License

Apache License 2.0

Usage

You can use the API client for many API parts:

  • the Geocoding API
  • the Route Optimization API
  • the Routing API
  • the Matrix API
  • the Isochrone API

For the Route Optimization API you can create the sources from our OpenAPI spec. See this repository for more details about it.

Android

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.

Android Alternative

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

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_graphhopper/graphhopper.git
git@gitee.com:mirrors_graphhopper/graphhopper.git
mirrors_graphhopper
graphhopper
graphhopper
master

搜索帮助