Dammyololade / flutter_polyline_points

A flutter plugin that's decodes encoded google poly line string into list of geo-coordinates suitable for showing route/polyline on maps
MIT License
105 stars 130 forks source link

It is only getting the distance and duration of the first waypoint #87

Open GerlanStanley opened 11 months ago

GerlanStanley commented 11 months ago

The 'distance' and 'duration' attributes are only returning the value for the first waypoint.

The ideal would be to return the array, so I could add the values ​​and have the complete 'distance' or 'duration' of the route.

twklessor commented 6 months ago

@GerlanStanley @Dammyololade I have created a pull request regarding this. It fixes the issue.