Interface AbstractVectorSource.HasUseSpatialIndex

All Known Subinterfaces:
AbstractVectorSource.HasVectorSourceOptions
All Known Implementing Classes:
DataVectorSource, NoOpVectorSource, VectorSource
Enclosing class:
AbstractVectorSource

public static interface AbstractVectorSource.HasUseSpatialIndex
Interface to be implemented by sources that should provide useSpatialIndex attribute management.
  • Method Details

    • getUseSpatialIndex

      Boolean getUseSpatialIndex()
      Returns:
      useSpatialIndex value or null if not set
    • setUseSpatialIndex

      void setUseSpatialIndex(Boolean useSpatialIndex)
      Sets whether to use spatial index. When features are removed and added frequently, and the total number of features is low, setting this to false may improve performance. The default value is true.
      Parameters:
      useSpatialIndex - whether to use spatial index