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

How to get more than 1 route from same waypoints(alternative routes) #558

Closed
3 tasks
rowheat02 opened this issue Oct 16, 2019 · 1 comment
Closed
3 tasks

Comments

@rowheat02
Copy link

Hi there,
before submitting a new issue, please consider the following:

Also, are you making a feature request, or are you in need of more advanced support?
Please consider sponsoring development, or paying for support. Not only will this most likely solve your issue quickly,
it's also an awesome way to keep open source projects alive and maintained, as well as giving something back for the
open source you're using. Contact me at per@liedman.net for more information.

@perliedman
Copy link
Owner

Hi, it depends on which routing service you use as backend. If the backend returns multiple routes, they will be displayed by Leaflet Routing Machine.

By default, Leaflet Routing Machine will use OSRM, which supports alternative routes. It will return more than one route if they are similar in time (sometimes).

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

No branches or pull requests

2 participants