Interface AbstractClusterSource.HasDistance
- All Known Subinterfaces:
- AbstractClusterSource.HasClusterSourceOptions
- All Known Implementing Classes:
- ClusterSource,- NoOpClusterSource
- Enclosing class:
- AbstractClusterSource
public static interface AbstractClusterSource.HasDistance
Interface to be implemented by sources that should provide cluster distance management.
 The distance is defined in pixels within which features will be clustered together.
 
For more details see: Cluster docs
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetDistance(Integer distance) Sets the distance within which features will be clustered together.
- 
Method Details- 
getDistanceInteger getDistance()- Returns:
- the distance or nullif not set
 
- 
setDistanceSets the distance within which features will be clustered together. If not defined distance with 20 pixels will be used.For more details see: setDistance() docs - Parameters:
- distance- distance in pixels
 
 
-