- All Implemented Interfaces:
- Serializable, GValue
public class GMarkerClusterOptions
extends Object
implements GValue
Options object for using specific settings in marker clustering.
Like custom icons or zoom restrictions.
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/docs/reference.html
Docs from the js file:
'gridSize': (number) The grid size of a cluster in pixels.
'maxZoom': (number) The maximum zoom level that a marker can be part of a cluster.
'zoomOnClick': (boolean) Whether the default behaviour of clicking on a cluster is to zoom into it.
'averageCenter': (boolean) Wether the center of each cluster should be
the average of all markers in the cluster.
'minimumClusterSize': (number) The minimum number of markers to be in a
cluster before the markers are hidden and a count is shown.
'styles': (object) An object that has style properties:
'url': (string) The image url.
'height': (number) The image height.
'width': (number) The image width.
'anchor': (Array) The anchor position of the label text.
'textColor': (string) The text color.
'textSize': (number) The text size.
'backgroundPosition': (string) The position of the backgound x, y.
- Author:
- Rob Sonke
- See Also:
- Serialized Form