Interface AbstractVectorSource.HasOverlaps
- All Known Subinterfaces:
AbstractVectorSource.HasVectorSourceOptions
- All Known Implementing Classes:
DataVectorSource
,NoOpVectorSource
,VectorSource
- Enclosing class:
- AbstractVectorSource
public static interface AbstractVectorSource.HasOverlaps
Interface to be implemented by sources that should provide overlaps attribute management.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setOverlaps
(Boolean overlaps) Sets whether source may have overlapping geometries.
-
Method Details
-
getOverlaps
Boolean getOverlaps()- Returns:
- overlaps value or
null
if not set
-
setOverlaps
Sets whether source may have overlapping geometries. The default value istrue
.Setting this to
false
(e.g. for sources with polygons that represent administrative boundaries) allows the renderer to optimise fill and stroke operations.Note, overlaps attribute is set only at creation time and cannot be changed at runtime.
- Parameters:
overlaps
- overlaps option
-