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, max zoom level still using cluster (should disable cluster as max zoom) #3

Closed
GoogleCodeExporter opened this issue Sep 29, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. set two marker at the same lat/lng
2. zoom to max level

Expected result:
expected no cluster icons

Actual result:
still using cluster icons

Version: 1.0

Additional comments:
Line 736: 
   if (zoom > mz) {
Should change to 
   if (zoom >= mz) {

Original issue reported on code.google.com by mac4w...@gmail.com on 6 Apr 2010 at 12:42

@GoogleCodeExporter
Copy link
Author

Based on the name, I would expect "maxZoom" to be the maximum zoom level at 
which the clusterer still does 
its thing. Remember that you can change maxZoom by passing it as an option to 
the Constructor.

As an example:

        zoom = 13; 
        markerClusterer = new MarkerClusterer(map, markers, {
          maxZoom: zoom,
        });

And that way ALL markers are shown at zoom levels 14+

Original comment by dave.bc on 16 May 2010 at 5:51

@GoogleCodeExporter
Copy link
Author

That comment is correct, the intention was to be the mamimum zoom level that 
the clustering happens.

Original comment by lu...@google.com on 31 Aug 2010 at 1:41

  • Changed state: WontFix

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