[GraphHopper] GraphHopper API usages
Peter K
peathal at yahoo.de
Sat Apr 27 20:20:20 UTC 2013
Of course this depends on the app :)
If it is an Android app (or desktop or something java based) you have
three choices: internet via HTTP or normal graphhopper API for offline
data access.
If it is an iphone/windows/browser app: you can only use the API over HTTP.
The offline API is identically to what you see e.g. in the unit tests.
The web API is used in the web demo. See the javascript ghrequest.js
object which is then used in main.js
Regards,
Peter.
PS: there was also an API via binary format over internet -> It is more
efficient but currently removed from source code (see older git versions).
> Thank you a lot. Maybe you can give me advice. If I want to deploy my
> application with map and use your routing, what is the best way to do
> this? How can I exchange information between apps?
More information about the GraphHopper
mailing list