asroboy / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
Apache License 2.0
0 stars 0 forks source link

Provide option to position the cluster icon at the bottom edge rather than center - markerclusterer #119

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
some icons are more suited for a bottom position alignment, while others should 
be aligned at center.  Such an option would provide more accurate alignment and 
better match user expectations when a "push pin" style cluster icon is used.

Original issue reported on code.google.com by d...@daleshaw.com on 7 Sep 2011 at 5:46

GoogleCodeExporter commented 8 years ago
I have added a feature to the trunk version of the MarkerClustererPlus library 
which should solve your problem. You can now include an anchorIcon property in 
the styles array in order to specify which point on the cluster icon is to be 
aligned with the cluster position. The default is the current behavior: to 
align the middle of the icon.

See:

http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererpl
us/

... and be sure to read the documentation.

Original comment by garylitt...@gmail.com on 8 Sep 2011 at 12:21

GoogleCodeExporter commented 8 years ago
Is this implemented... doesn't seem to work ...

Original comment by billy.br...@lanec.com on 23 May 2012 at 7:06

GoogleCodeExporter commented 8 years ago
It's definitely there in MarkerClustererPlus (but not the original 
MarkerClusterer). Show us your example of it not working.

Original comment by garylitt...@gmail.com on 4 Jun 2012 at 4:24