Closed Yahllil closed 1 year ago
Igual me sucede,al parecer solo sucede con distancias muy grandes
@Yahllil did you find any solution for this? Can't seem to find any solution out there. I'm building my route the same way as you.
@guiiamorim I changed DIRECTIONS API for the ROUTES API.
the polylines provided by ROUTES API is more detailed and the lines follow the roads perfectly
I see, will try this to see if it works, thanks!
This has now been optimised with the new release version 2.0.0
I am using the
flutter_polyline_points
package to draw a route between multiple points on myGoogleMap
widget (providing start point, end point, and multiple points in between).The polylines are being drawn perfectly fine, and everything seems to work, except for the fact that the polylines are not "snapped" to the roads, and seem like just a line between each point. Please see this example:
I am getting the points for the polyline like this:
Does anyone know why it is occurring? Is there a way to solve it using this package?
Thank you