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 Summary

    Modifier and Type
    Method
    Description
     
    void
    setDistance(Integer distance)
    Sets the distance within which features will be clustered together.
  • Method Details

    • getDistance

      Integer getDistance()
      Returns:
      the distance or null if not set
    • setDistance

      void setDistance(Integer distance)
      Sets 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