Agm-Direction icon indicating copy to clipboard operation
Agm-Direction copied to clipboard

waypoints not work with stopover true (via_waypoints)

Open aleterlone opened this issue 4 years ago • 0 comments

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...

aleterlone avatar Mar 16 '20 11:03 aleterlone