Skip to content
This repository has been archived by the owner on Nov 25, 2023. It is now read-only.

Using the example navigation app with locally hosted graphhopper engine #55

Open
aynalemL opened this issue May 26, 2023 · 1 comment
Open

Comments

@aynalemL
Copy link

Hello everyone,

I've been trying to use the GraphHopper example navigation app with a locally hosted GraphHopper engine, but I'm having trouble figuring out how to set it up correctly. By default, the app uses the base_url https://graphhopper.com/api/1/navigate/, but I want to switch it to my locally hosted engine URL.

My local GH engine runs on http://localhost:8989. However, I don't seem to find the equivalent API endpoint in my locally hosted engine that matches the default base_url.

Could someone please provide guidance on how to configure the app to work with a locally hosted GraphHopper engine?

Thank you!

@karussell
Copy link
Member

karussell commented May 26, 2023

It should be localhost:8989/navigate but you won't be able to access it from your smartphone for that either use the same wifi or deploy it to a remote server.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants