public interface ClusterStrategy
| Modifier and Type | Method and Description |
|---|---|
java.util.List<K2DClusterPoint> |
groupElements(VectorLayer vectorLayer,
TileSet elements,
K2DTransform currentTransform,
ClusterDisplayStrategyInfo config)
Specification of ClusterStrategy contract.
|
java.util.List<K2DClusterPoint> groupElements(VectorLayer vectorLayer, TileSet elements, K2DTransform currentTransform, ClusterDisplayStrategyInfo config)
vectorLayer - the vector layer to clusterelements - List of Points to clustercurrentTransform - Current transform available in the active view, used to convert
from WC to DC before calculating distance from points to clustersconfig - Cluster configuration received from the server for the Layer where
the clustering takes place