Open khalilurrehman28 opened 6 years ago
did you find any solution for this?
you can use map.clear() to clear out all the data on the screen on google map
but that would clear all the markers as well, that is not efficient
if (polylines.size() > 0) { for (Polyline poly : polylines) { poly.remove(); } }
polylines are not clear if new destination point is set