shakirsamoon / google_map_polyline

Gives the polyline coordinates to set polylines in Google Map.
https://pub.dev/packages/google_map_polyline
The Unlicense
26 stars 33 forks source link

Polylines always drawing the shortest path to the starting point #8

Open leonardoayres opened 4 years ago

leonardoayres commented 4 years ago

I'm facing a curious problem regarding Polylines on google_maps_flutter using the google_map_polyline package.

When i'm going for a walk and start the route (using the Location package to ensure updated coordinates) the polylines keep drawing without problem if the route is a straight line or get far away from the destination.

However, if my route try do go around back to the starting point, at some point, all the polyline drawn is redrawed considering my current point and the shortest path to the origin point, like if i've made another path (the shortest to my current point).