Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

MarkerClusterer removeMarkers - add opt_nodraw #29

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

MarkerClusterer removeMarkers - add opt_nodraw #29

GoogleCodeExporter opened this issue Aug 11, 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant