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

MarkerClusterer removeMarkers - add opt_nodraw #29

Closed
GoogleCodeExporter opened this issue Aug 3, 2015 · 1 comment
Closed

MarkerClusterer removeMarkers - add opt_nodraw #29

GoogleCodeExporter opened this issue Aug 3, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

The removeMarkers method does not have the option to not redraw the cluster.
Please add "opt_nodraw" as second parameter and the 2 lines at the bottom:
    if (!opt_nodraw) {
        this.resetViewport();
        this.redraw();
    }


This helps improving performance if you have to remove an amount of specific 
markers and handle the redraw manually afterwards.

Thanks

Original issue reported on code.google.com by elak....@gmail.com on 30 Jul 2010 at 12:04

@GoogleCodeExporter
Copy link
Author

Original comment by lu...@google.com on 6 Oct 2010 at 12:29

  • Changed state: Fixed

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

No branches or pull requests

1 participant