Class BaseEditableVectorLayer<S extends AbstractVectorSource>
java.lang.Object
io.jmix.mapsflowui.kit.component.model.MapObservableObject
io.jmix.mapsflowui.kit.component.model.layer.Layer<S>
io.jmix.mapsflowui.kit.component.model.layer.BaseVectorLayer<S>
io.jmix.mapsflowui.kit.component.model.layer.BaseEditableVectorLayer<S>
- Type Parameters:
S
- vector source type
- All Implemented Interfaces:
HasBaseLayerOptions
,Serializable
- Direct Known Subclasses:
VectorLayer
public abstract class BaseEditableVectorLayer<S extends AbstractVectorSource>
extends BaseVectorLayer<S>
Jmix implementation that does not have corresponding class in OpenLayer. Base class for vector layers
that supports editing features: selection, modification, dragging.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.layer.BaseVectorLayer
BaseVectorLayer.HasBackground, BaseVectorLayer.HasBaseVectorLayerOptions, BaseVectorLayer.HasDeclutter, BaseVectorLayer.HasRenderBuffer, BaseVectorLayer.HasUpdateWhileAnimating, BaseVectorLayer.HasUpdateWhileInteracting
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
MapObservableObject.ObjectChangeEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<FeatureType,
List<Style>> protected Map<FeatureType,
List<Style>> Fields inherited from class io.jmix.mapsflowui.kit.component.model.layer.BaseVectorLayer
styles
Fields inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
children, dirty, eventBus, metaProperties, parent, removedChildren, syncId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addModifyStyles
(FeatureType type, Style... styles) protected void
addSelectStyles
(FeatureType type, Style... styles) protected Collection<Style>
getModifyStyle
(FeatureType type) protected Map<FeatureType,
Collection<Style>> protected Collection<Style>
getSelectStyle
(FeatureType type) protected Map<FeatureType,
Collection<Style>> protected void
protected void
protected void
protected void
protected void
removeModifyStyles
(FeatureType type, Style... styles) protected void
removeSelectStyles
(FeatureType type, Style... styles) protected void
setModifyStyles
(FeatureType type, Collection<Style> styles) protected void
setModifyStyles
(Map<FeatureType, Collection<Style>> styles) protected void
setSelectStyles
(FeatureType type, Collection<Style> styles) protected void
setSelectStyles
(Map<FeatureType, Collection<Style>> styles) Methods inherited from class io.jmix.mapsflowui.kit.component.model.layer.BaseVectorLayer
addStyles, getBackground, getDeclutter, getOptions, getRenderBuffer, getStyles, getUpdateWhileAnimating, getUpdateWhileInteracting, removeAllStyles, removeStyles, setBackground, setDeclutter, setRenderBuffer, setUpdateWhileAnimating, setUpdateWhileInteracting
Methods inherited from class io.jmix.mapsflowui.kit.component.model.layer.Layer
createOptions, getClassName, getExtent, getId, getMaxZoom, getMinZoom, getOpacity, getSource, getVisible, getZIndex, setClassName, setExtent, setId, setMaxZoom, setMinZoom, setOpacity, setSource, setVisible, setZIndex, withClassName, withExtent, withId, withMaxZoom, withMinZoom, withOpacity, withSource, withVisible, withZIndex
Methods inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
addChild, addListener, clearRemovedChildren, clearRemovedChildrenInDepth, equals, fireChangeEvent, getChildren, getEventBus, getMetaProperties, getRemovedChildren, getSuperParent, getSyncId, getType, hashCode, isAttachedToMap, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setMetaProperty, setParent, unmarkDirtyInDepth
-
Field Details
-
selectStyles
-
modifyStyles
-
-
Constructor Details
-
BaseEditableVectorLayer
public BaseEditableVectorLayer()
-
-
Method Details
-
addSelectStyles
-
getSelectStyle
-
removeSelectStyles
-
removeAllSelectStyles
-
removeAllSelectStyles
protected void removeAllSelectStyles() -
getSelectStyles
-
setSelectStyles
-
setSelectStyles
-
addModifyStyles
-
getModifyStyle
-
removeModifyStyles
-
removeAllModifyStyles
-
removeAllModifyStyles
protected void removeAllModifyStyles() -
getModifyStyles
-
setModifyStyles
-
setModifyStyles
-