aegidius20
Member
When adding a polyline to a google map fragment, what is the right order of things? I have a cycle computer app which wants to grow the polyline with each change of location.
At present I'm calling AddPolyline once, then adding points (LatLngs) to its points list as the location changes. But the polyline is not appearing.
Should I be calling a new AddPolyline (with 2 points, from previous location to new location) as the location changes? Or should it work to update the points list for an existing polyline?
At present I'm calling AddPolyline once, then adding points (LatLngs) to its points list as the location changes. But the polyline is not appearing.
Should I be calling a new AddPolyline (with 2 points, from previous location to new location) as the location changes? Or should it work to update the points list for an existing polyline?