Interface BaseVectorLayer.HasUpdateWhileAnimating

All Known Subinterfaces:
BaseVectorLayer.HasBaseVectorLayerOptions
All Known Implementing Classes:
BaseHeatmapLayerOptions, BaseVectorLayerOptions, HeatmapLayerOptions, NoOpVectorLayer, VectorLayer, VectorLayerOptions
Enclosing class:
BaseVectorLayer<S extends AbstractVectorSource>

public static interface BaseVectorLayer.HasUpdateWhileAnimating
Interface to be implemented by layers that should provide "updateWhileAnimating" attribute management.

For more details see: BaseVectorLayer docs

  • Method Details

    • getUpdateWhileAnimating

      Boolean getUpdateWhileAnimating()
      Returns:
      whether feature batches will be recreated during animations, null value means that default value is used: false
    • setUpdateWhileAnimating

      void setUpdateWhileAnimating(Boolean updateWhileAnimating)
      Sets whether feature batches will be recreated during animations. This means that no vectors will be shown clipped, but the setting will have a performance impact for large amounts of vector data. When set to false, batches will be recreated when no animation is active.

      The default value is false.

      Note, "updateWhileAnimating" is set only at creation time and cannot be changed at runtime. For more details see: BaseVectorLayer docs

      Parameters:
      updateWhileAnimating - whether feature batches will be recreated during animations