Interface AbstractClusterSource.HasPointStyle

All Known Subinterfaces:
AbstractClusterSource.HasClusterSourceOptions
All Known Implementing Classes:
ClusterSource, NoOpClusterSource
Enclosing class:
AbstractClusterSource

public static interface AbstractClusterSource.HasPointStyle
Interface to be implemented by sources that should provide point styles management.
  • Method Details

    • getPointStyles

      List<Style> getPointStyles()
      Returns:
      list of added cluster point styles or empty list if no styles added
    • addPointStyles

      void addPointStyles(Style... styles)
      Adds cluster point style. The Cluster generates points that includes features in this cluster. Styles will be applied only for generated points, other features will be styled according to their rules.
      Parameters:
      styles - cluster point styles to add
    • removePointStyles

      void removePointStyles(Style... styles)
      Removes cluster point styles.
      Parameters:
      styles - styles to remove
    • removeAllPointStyles

      void removeAllPointStyles()
      Removes all added cluster point styles.