IClusterGenerator
Interface
Provides cluster management functionality.
Definition
Namespace:Telerik.Windows.Controls.Map
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
C#
public interface IClusterGenerator
Derived Classes:
Properties
Gets or sets the visualization layer this cluster generator serve for.
C#
VisualizationLayer Layer { get; set; }
Methods
Detects whether given original data item belongs to the region of the specified cluster at the specified zoom level.
C#
bool IsItemInClusterRegion(ClusterData cluster, MapObjectInfo info, int zoomLevel)
Cluster.
infoMapObjectInfoMap object information.
zoomLevelintZoom level.
Returns:true - if data item belongs to the region of the specified cluster.
Detects whether cluster should be regenerated for the given zoom level.
C#
bool RegenerationNeeded(ClusterData cluster, int zoomLevel)
Cluster.
zoomLevelintZoom level.
Returns:true - if cluster should be regenerated at the given zoom level, otherwise false.