Graphhopper Navigation Example Save

GraphHopper Navigation Example using the Maplibre Android SDK

Project README

GraphHopper Navigation Example for Android

Use the GraphHopper Directions API with the Maplibre Navigation SDK for Android.

With this SDK you can implement turn-by-turn navigation in your own Android app while using GraphHopper for the routing and a map tile service like MapTiler for the map visualization.

MapLibre Navigation Android

Getting Started

  1. download IntelliJ with Android Support and open this repository
  2. go to app/src/main/res/value/developer-config.xml and..
  3. replace the GraphHopper API key to make the routing working (do not forget to prefix the GraphHopper API key with pk.)
  4. replace the map tiles API URL to make the map visible
  5. enable GPS location
  6. start the app and click "Navigation UI"
  7. you will see a gray circle for your current location. Tap on screen to set the destination
  8. Now a button "Start Route" will appear. Click it and the navigation panel will appear

Legacy

To find the old example that uses the old GraphHopper SDK have a look here.

License

This code was forked from Maplibre. It stands under the same license as the Maplibre SDK, i.e. MIT License.

Open Source Agenda is not affiliated with "Graphhopper Navigation Example" Project. README Source: graphhopper/graphhopper-navigation-example
Stars
10
Open Issues
0
Last Commit
3 months ago
License

Open Source Agenda Badge

Open Source Agenda Rating