IMapClusterStrategy
Interface
Defines how clusterable map items are grouped into map-cluster visuals.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMap.dll
Syntax:
C#
public interface IMapClusterStrategy
Methods
Groups items using the strategy's clustering rule at the viewport's current zoom level.
C#
List<MapCluster> GenerateClusters(IEnumerable<IClusterable> items, long step, IMapViewport viewport)
The items to group.
steplongThe grouping distance; built-in strategies interpret it in map pixels at the current zoom level.
viewportIMapViewportThe viewport used to project item locations into map pixels.
Returns:List<MapCluster>
The clusters produced for the supplied items.