Owd-Larrd / gmaps-utility-library-dev

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

MarkerCluster Enhancement #192

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As suggested during in google groups
(http://groups.google.com/group/google-maps-utility-library/browse_thread/thread
/6ed9ecf4bc98070e)
I've add a new option to the MarkerClustererOptions class: minClusterSize.
Below is the documentation based on
http://gmaps-utility-library.googlecode.com/svn/trunk/markerclusterer/1.0/docs/r
eference.html
if it were to be accepted and I've attached the altered js and an example
html file which is also live @
http://hoctordesign.com/minClusterSize_example.html

minClusterSize      Number      Set the minimum size off a cluster. Clusters
below this number will display as individual icons and have the same click
behaviuor as unclustered markers. If not set the default is 2.

Usage: new MarkerClusterer(map, markersArray, { minClusterSize: 3 });

Original issue reported on code.google.com by denishoc...@gmail.com on 18 Feb 2010 at 3:46

Attachments:

GoogleCodeExporter commented 9 years ago
Could do with an edit button to fix my awful grammar! Sorry.

Original comment by denishoc...@gmail.com on 18 Feb 2010 at 3:48

GoogleCodeExporter commented 9 years ago
That seems to work for me - thanks @denishoctor!

Original comment by dylankk...@gmail.com on 17 May 2010 at 9:36