InterfaceIClusterItemGenerator
Provides functionality for operations on cluster and original data items.
Definition
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
center
Center of the cluster.
item
Data item which initialized creation of the cluster.
Returns
New cluster item.
GetBindingForLocation(object)
Gets binding for location property.
Declaration
Binding GetBindingForLocation(object dataItem)
Parameters
dataItem
Data item to which is binding source.
Returns
Binding
Binding to location property.
GetLocationFromItem(object)
Gets location from the data item.
IsItemInClusterRegion(ClusterItem, object, int)
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.
dataItem
Data item.
zoomLevel
Zoom level.
Returns
true - if data item belongs to the region of the specified cluster.