-
Notifications
You must be signed in to change notification settings - Fork 26
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
Alternative routes are not displayed #81
Comments
According to the Directions Requests, alternative routes won't show at the same time. If you want to get the result of alternative routes, Alternative routes response:Or using the option
|
Thanks a lot. I managed to draw also the alternative routes using a for loop in the onResponse method:
How can I remove this directions if I'd like to get a new destination? |
@explooosion Can you show an example for selecting an alternate route using the draggable option ? |
hi @chris248-git @chris24802, |
Hi All, please help on this issue. i need show alternative routes on map like google map |
Since the directive is providing the option "provideRouteAlternatives" it does not display the alternative routes.
Within the code of the directive only the first route is called
--> see line 180:
const _route = response.routes[0].legs[0];
According to the directions api description, google is providing an array of alternative routes.
The text was updated successfully, but these errors were encountered: