Class MapOptions
java.lang.Object
io.jmix.mapsflowui.kit.component.model.MapObservableObject
io.jmix.mapsflowui.kit.component.model.MapOptions
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GeoMapOptions
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
MapObservableObject.ObjectChangeEvent -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanMap-wide compatibility switch resolved by editable sources: whentrue, a source that leavesfeatureDeleteEnabledunset treats an enabled modify mode as also enabling deletion (the pre-3.1 coupling).protected MapViewFields inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
children, dirty, eventBus, metaProperties, parent, removedChildren, syncId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcom.vaadin.flow.shared.RegistrationvoidOverrides method to make it public.protected MapViewCollection<Layer<?>> protected StringgetType()booleanbooleanWhether an editable source with an unset delete flag treats enabled modify mode as also enabling deletion (the pre-3.1 coupling).voidvoidremoveLayer(Layer<?> layer) voidsetFeatureModifyIncludesDelete(boolean featureModifyIncludesDelete) Sets whether an editable source with an unset delete flag treats enabled modify mode as also enabling deletion (the pre-3.1 coupling).voidsetMapView(MapView view) voidMethods inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
addChild, addListener, clearRemovedChildren, equals, fireChangeEvent, getChildren, getEventBus, getMetaProperties, getRemovedChildren, getSuperParent, getSyncId, hashCode, isAttachedToMap, isDirty, markAsDirty, removeChild, setMetaProperty, setParent
-
Field Details
-
view
-
layers
-
featureModifyIncludesDelete
protected boolean featureModifyIncludesDeleteMap-wide compatibility switch resolved by editable sources: whentrue, a source that leavesfeatureDeleteEnabledunset treats an enabled modify mode as also enabling deletion (the pre-3.1 coupling). Set by the map from thejmix.maps.ui.feature-modify-includes-deleteproperty; not serialized to the client (the effective per-source value is).
-
-
Constructor Details
-
MapOptions
public MapOptions()
-
-
Method Details
-
getType
- Specified by:
getTypein classMapObservableObject
-
getMapView
-
setMapView
-
addLayer
-
removeLayer
-
getLayers
-
isFeatureModifyIncludesDelete
public boolean isFeatureModifyIncludesDelete()Whether an editable source with an unset delete flag treats enabled modify mode as also enabling deletion (the pre-3.1 coupling).- Returns:
trueif modify implies delete for unset sources
-
setFeatureModifyIncludesDelete
public void setFeatureModifyIncludesDelete(boolean featureModifyIncludesDelete) Sets whether an editable source with an unset delete flag treats enabled modify mode as also enabling deletion (the pre-3.1 coupling).- Parameters:
featureModifyIncludesDelete-trueto make modify imply delete for unset sources
-
clearRemovedChildrenInDepth
public void clearRemovedChildrenInDepth()Overrides method to make it public. All removed children collections should be cleared after sending request to a client-side.- Overrides:
clearRemovedChildrenInDepthin classMapObservableObject
-
isDirtyInDepth
public boolean isDirtyInDepth()- Overrides:
isDirtyInDepthin classMapObservableObject
-
markAsDirtyInDepth
public void markAsDirtyInDepth()- Overrides:
markAsDirtyInDepthin classMapObservableObject
-
unmarkDirtyInDepth
public void unmarkDirtyInDepth()- Overrides:
unmarkDirtyInDepthin classMapObservableObject
-
addMapObjectChangeListener
public com.vaadin.flow.shared.Registration addMapObjectChangeListener(Consumer<MapObservableObject.ObjectChangeEvent> listener) -
createView
-