Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polyline Clear #1

Open
khalilurrehman28 opened this issue Nov 22, 2017 · 4 comments
Open

Polyline Clear #1

khalilurrehman28 opened this issue Nov 22, 2017 · 4 comments

Comments

@khalilurrehman28
Copy link

polylines are not clear if new destination point is set

@humayuntanwar
Copy link

did you find any solution for this?

@khalilurrehman28
Copy link
Author

you can use map.clear() to clear out all the data on the screen on google map

@humayuntanwar
Copy link

but that would clear all the markers as well, that is not efficient

@kashifansari786
Copy link

if (polylines.size() > 0) {
for (Polyline poly : polylines) {
poly.remove();
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants