We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Thanks for making all these plugins to make it easy to try out different routing services.
Noticed that the "road" attribute is not poplated on the instruction object.
IInstruction defined here: https://www.liedman.net/leaflet-routing-machine/api/#iinstruction
Relevant code here
https://github.com/perliedman/lrm-graphhopper/blob/master/src/L.Routing.GraphHopper.js#L221
Adding road: instr.street_name seems to do the trick.
road: instr.street_name
PS: I know this is looking for a maintainer but thought I'd document it anyway.
The text was updated successfully, but these errors were encountered:
I think it might be that street_name was not available from GraphHopper's API when I originally wrote this code, but not sure actually.
street_name
Consider creating a PR with this change to get it included in the code.
Sorry, something went wrong.
No branches or pull requests
Hi,
Thanks for making all these plugins to make it easy to try out different routing services.
Noticed that the "road" attribute is not poplated on the instruction object.
IInstruction defined here:
https://www.liedman.net/leaflet-routing-machine/api/#iinstruction
Relevant code here
https://github.com/perliedman/lrm-graphhopper/blob/master/src/L.Routing.GraphHopper.js#L221
Adding
road: instr.street_name
seems to do the trick.PS: I know this is looking for a maintainer but thought I'd document it anyway.
The text was updated successfully, but these errors were encountered: