-
Notifications
You must be signed in to change notification settings - Fork 353
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
How to show alternatives more then 4 waypoints #678
Comments
By default LRM displays everything that's returned by the routing provider (OSM, Mapbox, etc.), so if only four waypoints are returned, then LRM can't do much about it. If that's not what you mean, can you share some code so I could try to understand the question a bit better? |
Hey, just wanted to let you know that I'm on vacation so replies might be a bit slower. I'll get back to this as soon as I can, though! I believe you'll want a custom router or 4 instances of LRM though, from having a quick look. That is, every marker gets its own instance, essentially giving it alternatives as well |
Okay, so just to confirm your situation looks like this:
|
Hi, Sorry, I see now your message, yes it is rigth |
That is not currently something that lrm supports. You would have to set up 4 different routing machines with your start, end and marker coordinates as waypoints. That said, I am happy to accept a pull request that adds an option to make alternatives depend on the closest intermediate waypoint |
Hi there,
I have 4 waypoints, I don't show alternatives and edit alteratives waypoints, pls help me
I have 4 markers that I need to make an alternative to line, similar to yandex
this is code
The text was updated successfully, but these errors were encountered: