Skip to content
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

route does not appear #708

Open
zidanestian opened this issue Oct 21, 2024 · 1 comment
Open

route does not appear #708

zidanestian opened this issue Oct 21, 2024 · 1 comment
Labels

Comments

@zidanestian
Copy link

zidanestian commented Oct 21, 2024

I have used Route Leaflet JS before, and everything was fine until a few days ago when the route stopped appearing. Perhaps someone could provide an explanation or point out what the issue might be. Here are the coordinates I have:

https://router.project-osrm.org/route/v1/driving/106.62490761280112,-6.189105226212671;106.621875,-6.189306?overview=false&alternatives=true&steps=true&hints=;

@curtisy1
Copy link
Collaborator

Hey @zidanestian! This is probably a question for the people at osrm, since LRM only provides a UI for the API.

That said {"message":"Number of elements in hints size 1 does not match coordinate size 2","code":"InvalidOptions"} is the response I get from your example. Which indicates the hints parameter is wrong.
If I remove it, it works. But I'm not sure if this was there intentionally and the hints are just missing

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

No branches or pull requests

2 participants