ClassClusteredDataSource
Clustered data source for the information layer. Allows show group of the locations as single pushpin.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
public class ClusteredDataSource : Freezable
Inheritance: objectClusteredDataSource
Constructors
ClusteredDataSource()
Initializes a new instance of the ClusteredDataSource class.
Declaration
public ClusteredDataSource()
Fields
ClusterItemGeneratorProperty
Identifies the ClusterItemGenerator dependency property.
Declaration
public static readonly DependencyProperty ClusterItemGeneratorProperty
Field Value
DependencyProperty
ClusterItemTemplateProperty
Identifies the ClusterItemTemplate dependency property.
Declaration
public static readonly DependencyProperty ClusterItemTemplateProperty
Field Value
DependencyProperty
GenerateClustersOnZoomProperty
Identifies the GenerateClustersOnZoom dependency property.
Declaration
public static readonly DependencyProperty GenerateClustersOnZoomProperty
Field Value
DependencyProperty
ItemTemplateProperty
Identifies the ItemTemplate dependency property.
Declaration
public static readonly DependencyProperty ItemTemplateProperty
Field Value
DependencyProperty
ItemTemplateSelectorProperty
Identifies the ItemTemplateSelector dependency property.
Declaration
public static readonly DependencyProperty ItemTemplateSelectorProperty
Field Value
DependencyProperty
ItemsSourceProperty
Identifies the ItemsSource dependency property.
Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
DependencyProperty
Properties
ClusterItemGenerator
Gets or sets cluster item generator.
Declaration
public IClusterItemGenerator ClusterItemGenerator { get; set; }
Property Value
ClusterItemTemplate
Gets or sets cluster item template.
Declaration
public DataTemplate ClusterItemTemplate { get; set; }
Property Value
DataTemplate
GenerateClustersOnZoom
Gets or sets value which indicates whether clusters should be re-generated when zoom level is changed.
ItemTemplate
Gets or sets clustered item template.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
DataTemplate
ItemTemplateSelector
Gets or sets template selector.
Declaration
public DataTemplateSelector ItemTemplateSelector { get; set; }
Property Value
DataTemplateSelector
ItemsSource
Gets or sets items source.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
Methods
ArrangeItem(object)
Refresh location of the given data item.
Declaration
public void ArrangeItem(object item)
Parameters
item
Data item.
Collapse(ClusterItem)
Collapse cluster.
Declaration
public void Collapse(ClusterItem cluster)
Parameters
cluster
Cluster to collapse.
Collapse(object)
Collapse cluster which contains given data item.
CreateInstanceCore()
When implemented in a derived class, creates a new instance of the Freezable derived class.
Declaration
protected override Freezable CreateInstanceCore()
Returns
Freezable
The new instance.
Expand(ClusterItem)
Expand cluster.
Declaration
public void Expand(ClusterItem cluster)
Parameters
cluster
Cluster to expand.
ExpandToPolygon(ClusterItem)
Expand cluster so its items will not be on their original locations, but in the vertices of the regular polygon.
Declaration
public void ExpandToPolygon(ClusterItem cluster)
Parameters
cluster
Cluster to expand.
Refresh()
Refresh data source.
Declaration
public void Refresh()
Remarks
Remove all clusters and regenerate all items.
RelocateItem(object, out ClusteredItem)
Move item from one cluster to another.
Declaration
public ClusterItem RelocateItem(object item, out ClusteredItem clusteredItem)
Parameters
item
Item to relocate.
clusteredItem
Clustered item which corresponds to the given data item.
Returns
New cluster.