Interface IClusterItemGenerator
Provides functionality for operations on cluster and original data items.
Namespace: Telerik.Windows.Controls.Map
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public interface IClusterItemGenerator
Methods
CreateCluster(Location, Object)
Creates cluster at the specified location.
Declaration
ClusterItem CreateCluster(Location center, object item)
Parameters
Location
center
Center of the cluster. |
System. Data item which initialized creation of the cluster. |
Returns
Cluster New cluster item. |
GetBindingForLocation(Object)
Gets binding for location property.
Declaration
Binding GetBindingForLocation(object dataItem)
Parameters
System. Data item to which is binding source. |
Returns
System. Binding to location property. |
GetLocationFromItem(Object)
Gets location from the data item.
Declaration
Location GetLocationFromItem(object dataItem)
Parameters
System. Data item to get location from. |
Returns
Location
Location of the data item. |
IsItemInClusterRegion(ClusterItem, Object, Int32)
Detects whether given original data item belongs to the region of the specified cluster at the specified zoom level.
Declaration
bool IsItemInClusterRegion(ClusterItem cluster, object dataItem, int zoomLevel)
Parameters
Cluster Cluster. |
System. Data item. |
System. Zoom level. |
Returns
System. true - if data item belongs to the region of the specified cluster. |