Class MarkerClusterer
Manage per-zoom-level clusters for large amounts of markers. https://github.com/googlemaps/js-marker-clusterer
Inheritance
System.Object
MarkerClusterer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:GoogleMaps.Markers
Assembly:GoogleMaps.dll
Syntax
public class MarkerClusterer : IScriptDescriptorData
Properties
AverageCenter
Wether the center of each cluster should be the average of all markers in the cluster.
Declaration
public bool AverageCenter { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
GridSize
The grid size of a cluster in pixels.
Declaration
public int GridSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ImageExtension
Declaration
public string ImageExtension { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ImagePath
Declaration
public string ImagePath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MaxZoom
The maximum zoom level that a marker can be part of a cluster.
Declaration
public int MaxZoom { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MinimumClusterSize
The minimum number of markers to be in a cluster before the markers are hidden and a count is shown.
Declaration
public int MinimumClusterSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Styles
Declaration
public MarkerClusterStyles Styles { get; set; }
Property Value
Type | Description |
---|---|
MarkerClusterStyles |
ZoomOnClick
Whether the default behaviour of clicking on a cluster is to zoom into it.
Declaration
public bool ZoomOnClick { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
ToScriptData()
Declaration
public IDictionary<string, object> ToScriptData()
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |