explooosion / Agm-Direction

This is the directive for @agm/core (not official)
https://robby570.tw/Agm-Direction-Docs/
MIT License
75 stars 26 forks source link

waypoints not work with stopover true (via_waypoints) #91

Open aleterlone opened 4 years ago

aleterlone commented 4 years ago

Problem:

Capture the distance between points and keep marking options (infowindow/icon) when:

stopover: true

In this way, only the origin/destination waypoints are displayed.

When debugging the file 'agm-direction.js', i noticed that in line (196), the values for via_waypoints are empty:

Linha 196:

this.markerOptions.waypoints[index].position = _route.via_waypoints[index];

I would like help to realize something that I may be missing!

I would also like to thank you for this excellent work! thanks...