Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
C#
public class ElementClusterStrategy : IMapClusterStrategy
Inheritance: objectElementClusterStrategy
Implements:
Constructors
C#
public ElementClusterStrategy()
Methods
Generates the clusters.
C#
public virtual List<MapCluster> GenerateClusters(IEnumerable<IClusterable> items, long distance, IMapViewport viewport)
The items.
distancelongThe distance.
viewportIMapViewportThe viewport.
Returns:List<MapCluster>
List<Cluster>.
Implements:
Gets the closest cluster to the given point.
C#
protected virtual ElementClusterStrategy.ClusterRegion GetClosestCenter(List<ElementClusterStrategy.ClusterRegion> nearClusterRegions, PointL point)
The near cluster regions.
pointPointLThe point.
Returns:ElementClusterStrategy.ClusterRegion
ClusterRegion.