Class
ClusterData

Represents collection of the map objects clustered using some criteria.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class ClusterData : INotifyPropertyChanged

Inheritance: objectClusterData

Implements: INotifyPropertyChanged

Constructors

ClusterData()

Declaration

cs-api-definition
public ClusterData()

Properties

AutoCalculateBounds

Gets or sets value which indicates whether bounding box of the cluster should be calculated automatically.

Declaration

cs-api-definition
public bool AutoCalculateBounds { get; set; }

Property Value

bool

AutoExpandWhenSingle

Gets or sets value which indicates whether cluster should be automatically expanded when it contains 1 data item only.

Declaration

cs-api-definition
public bool AutoExpandWhenSingle { get; set; }

Property Value

bool

Bounds

Gets or sets bounding box of the cluster.

Declaration

cs-api-definition
public LocationRect Bounds { get; set; }

Property Value

LocationRect

Children

Gets data items which belongs to this cluster.

Declaration

cs-api-definition
public IEnumerable<object> Children { get; }

Property Value

IEnumerable<object>

ClusterState

Gets or sets state of the cluster.

Declaration

cs-api-definition
public ClusterState ClusterState { get; set; }

Property Value

ClusterState

Count

Gets number of the items in the cluster.

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

Data

Gets or sets additional cluster's data. This data can be used to pass extra information to the cluster's data template or by cluster generator when detecting belonging of the item to the particular cluster.

Declaration

cs-api-definition
public object Data { get; set; }

Property Value

object

DeleteWhenEmpty

Gets or sets value which indicates whether cluster should be deleted if it is empty.

Declaration

cs-api-definition
public bool DeleteWhenEmpty { get; set; }

Property Value

bool

ExpandRadius

Gets or sets radius (in pixels) which will be used to calculate coordinates of the items when cluster is expanded to the polygon vertices.

Declaration

cs-api-definition
public double ExpandRadius { get; set; }

Property Value

double

HideExpanded

Indicates whether expanded cluster should be hidden.

Declaration

cs-api-definition
public bool HideExpanded { get; set; }

Property Value

bool

Hotspot

Gets or sets hotspot of the cluster.

Declaration

cs-api-definition
public HotSpot Hotspot { get; set; }

Property Value

HotSpot

Location

Gets or sets center of the cluster.

Declaration

cs-api-definition
public Location Location { get; set; }

Property Value

Location

ZIndex

Gets or sets ZIndex of the cluster.

Declaration

cs-api-definition
public int ZIndex { get; set; }

Property Value

int

Events

PropertyChanged

Property changed event handler.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged