Interface BaseHeatmapLayer.HasMaxWeight

All Known Subinterfaces:
BaseHeatmapLayer.HasBaseHeatmapLayerOptions
All Known Implementing Classes:
BaseHeatmapLayerOptions, HeatmapLayer, HeatmapLayerOptions, NoOpHeatmapLayer
Enclosing class:
BaseHeatmapLayer

public static interface BaseHeatmapLayer.HasMaxWeight
Interface to be implemented by layers that should provide "maxWeight" management.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    setMaxWeight(Double maxWeight)
    Sets the maximum weight (intensity).
  • Method Details

    • getMaxWeight

      Double getMaxWeight()
      Returns:
      the maximum weight or null if not set
    • setMaxWeight

      void setMaxWeight(Double maxWeight)
      Sets the maximum weight (intensity). If a point contains weight value that is greater than maximum weight, the point value will be cut by the maximum one. The default value is 1.
      Parameters:
      maxWeight - maximum weight