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.HasUpdateWhileInteractingNested 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
stylesFields 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 voidaddModifyStyles(FeatureType type, Style... styles) protected voidaddSelectStyles(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 voidprotected voidprotected voidprotected voidprotected voidremoveModifyStyles(FeatureType type, Style... styles) protected voidremoveSelectStyles(FeatureType type, Style... styles) protected voidsetModifyStyles(FeatureType type, Collection<Style> styles) protected voidsetModifyStyles(Map<FeatureType, Collection<Style>> styles) protected voidsetSelectStyles(FeatureType type, Collection<Style> styles) protected voidsetSelectStyles(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, setUpdateWhileInteractingMethods 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, withZIndexMethods 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
-