We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How can i remove a polygon from map? polygon.removeFrom(map) does not work as it does for removing a marker.
The text was updated successfully, but these errors were encountered:
I also need to solve the problem~! webgl earth has little api interface!
Sorry, something went wrong.
Very old, I know, but construct the polygon with a reference, then use the variable holding the polygon and call
var polygon = WE.polygon([.... coords ...], { }).addTo(earth); polygon.destroy(); polygon = null;
You can then re-reference the polygon variable to create a new one.
No branches or pull requests
How can i remove a polygon from map? polygon.removeFrom(map) does not work as it does for removing a marker.
The text was updated successfully, but these errors were encountered: