Interface BaseVectorLayer.HasBackground
- 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.HasBackground
Interface to be implemented by layers that should provide "background" attribute management.
 
For more details see: BaseVectorLayer docs
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetBackground(String color) Sets the background color for the layer.
- 
Method Details- 
getBackgroundString getBackground()- Returns:
- background color for the layer or nullif not set
 
- 
setBackgroundSets the background color for the layer. If not specified, no background will be rendered.Note, background color is set only at creation time and cannot be changed at runtime. For more details see: BaseVectorLayer docs - Parameters:
- color- color to set
 
 
-