-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation not correct at graphhopper/docs/core/location-index.md #1793
Labels
Comments
Thanks! Yes, we'll probably create some code in the repository (to keep those examples up to date) that we then reference in our documentation. Related #774 |
For questions please use our public forum (create a new topic): https://discuss.graphhopper.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
In your Documentation at the location index code example the code is not totally correct:
Yout have to call the function findClosest on the index object you have created before.
So it has to be
QueryResult qr = index.findClosest(lat, lon, EdgeFilter.ALL_EDGES );
.I would advise to change this.
Thanks!
The text was updated successfully, but these errors were encountered: