GraphHopper.com | Forum | GitHub | Maps | Blog

Navigation depends on different library (Mapbox) and offline mode isn't possible?


#1

Navigation depends on different library (Mapbox) and offline mode isn’t possible?


#2

Seems I misunderstood it.

The server itself depends only on Grasshopper - graphhopper/graphhopper-navigation

So we don’t need any API Key for this one (it’s fully free and open-sourced)

Only Android example app uses MapBox with API Key to visualize results from server on the their map: graphhopper/graphhopper-navigation-example

So as I understand Android example can be re-written to use a different Map Library?

E.g. it would be awesome to use Graphhopper Navigation API with Mapsforge VTM - open-source opengl map library: https://github.com/mapsforge/vtm/tree/master/vtm-android-example


#3

Yes, exactly. We picked the Mapbox SDK and did not add the closed source parts they use, so that the license is just the MIT one. You can use any tile provider like mapbox or mapilion and also any GraphHopper server like the open source one or the commercial GraphHopper Directions API.

We’ll blog about this soon.

E.g. it would be awesome to use Graphhopper Navigation API with Mapsforge VTM - open-source opengl map library

This is not planned but if there is a contribution we would likely accept it if changes are clean&small.