Home

Awesome

Update to MapLibre Navigation SDK for Android

We recommend that you use the successor of the GraphHopper Navigation SDK, which is the MapLibre Navigation SDK. An example where GraphHopper routing is integration is available here.


Legacy Readme

GraphHopper Navigation Sample

This Android example application showcases navigation based on instructions returned from the GraphHopper Navigation component.

Try

Download from Google Play.

Features

features

Getting Started

Building your own turn-by-turn navigation app based on GraphHopper is easy. Just sign up for the GraphHopper Directions API.

GraphHopper does not provide map tiles. The navigation sdk is compatible with MVT vector tiles and raster tiles. There are several map providers, including:

Note: while it's possible to use raster tiles, we recommend vector tiles for mobile applications.

Enter your GraphHopper API key and map style url in the developer config: app/src/main/res/values/developer-config.xml

You can fork this project and adapt it to your needs, or use it as orientation when developing your own application.

License

This project stands under the Apache License.

It is a fork of the Mapbox Sample App, which is licensed under the MIT license.

Updating the developer-config file

Ignore:
git update-index --assume-unchanged app/src/main/res/values/developer-config.xml
Unignore:
git update-index --no-assume-unchanged app/src/main/res/values/developer-config.xml