Interface BaseVectorLayer.HasUpdateWhileInteracting
- 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.HasUpdateWhileInteracting
Interface to be implemented by layers that should provide "updateWhileInteracting" attribute management.
For more details see: BaseVectorLayer docs
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setUpdateWhileInteracting
(Boolean updateWhileInteracting) Sets whether feature batches will be recreated during interactions.
-
Method Details
-
getUpdateWhileInteracting
Boolean getUpdateWhileInteracting()- Returns:
- whether feature batches will be recreated during interactions,
null
value means that default value is used:false
-
setUpdateWhileInteracting
Sets whether feature batches will be recreated during interactions. The default value isfalse
.For instance, if the user moves map by mouse, the features that were not visible will be drawn after the user releases the pressed mouse. To enable always drawing features, set property to
true
.Note, "updateWhileInteracting" is set only at creation time and cannot be changed at runtime.
For more details see: BaseVectorLayer docs
- Parameters:
updateWhileInteracting
- whether feature batches will be recreated during interactions
-