yenbao1340 / gmaps-utility-library-dev

Automatically exported from code.google.com/p/gmaps-utility-library-dev
0 stars 0 forks source link

MarkerClusterer: maxZoom sets max zoom to maxZoom - 1 instead of maxZoom #182

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. set maxZoom option to some zoom level
2. feed MarkerClusterer with more markers at the same place
3. zoom in until you reach the zoom level specified by maxZoom

What is the expected output? What do you see instead?
Expected output is to still see the cluster at this level, for two reasons:
- the docs says 'The max zoom level monitored by a marker cluster'
- name of the option 'maxZoom' - the maximal zoom level handled by MK, i.e.
it should be involved among all smaller levels

Instead, you see normal markers. 

So, in fact, the max zoom handled by MarkerClusterer is maxZoom - 1, not
maxZoom.

What version of the product are you using? On what operating system?

MarkerClusterer 1.0, Firefox 3.5.5, Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by tomas.te...@gmail.com on 12 Jan 2010 at 8:11