yenbao1340 / gmaps-utility-library-dev

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

Enhancement: Minimum cluster size for Marker Clusterer #109

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice if the Marker Cluster had an option to specify the minimum
number of markers in a cluster. For example, it doesn't seem to make much
sense to me to have clusters containing only 2-3 markers. I would like to
be able to set a minimum size of say, 5 markers. If a cluster doesn't
contain at least five markers, then they should be displayed as normal
markers instead of the cluster icon.

Original issue reported on code.google.com by RichardD...@gmail.com on 28 Apr 2009 at 9:54

GoogleCodeExporter commented 8 years ago
Hmm. From what I know of his algorithm, he could create all the clusters 
initially, 
go through and find clusters with size below some minimum, and destroy those 
clusters. Assigning to Frank for his thoughts.

Original comment by pamela.fox on 29 Apr 2009 at 12:16

GoogleCodeExporter commented 8 years ago
I've just committed into SVN (rev. 993) an update that adds this feature.

Original comment by RichardD...@gmail.com on 4 May 2009 at 6:44

GoogleCodeExporter commented 8 years ago
Richards update was removed in r1001, there's no log message so I'm not sure 
why.

Original comment by deansa...@gmail.com on 7 Aug 2009 at 4:42

GoogleCodeExporter commented 8 years ago
Was the removal of this feature purposeful?

Original comment by deansa...@gmail.com on 25 Aug 2009 at 10:46

GoogleCodeExporter commented 8 years ago
Not sure, I've emailed the committer who reverted his change.

Original comment by pamela.fox on 27 Aug 2009 at 5:41