Class Source
java.lang.Object
io.jmix.mapsflowui.kit.component.model.MapObservableObject
io.jmix.mapsflowui.kit.component.model.source.Source
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractVectorSource
,ImageSource
,TileSource
Base class for
Layer
sources.
For more details see: Source docs
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Interface to be implemented by sources that should provide attributions management.static interface
Interface to be implemented by sources that should provide attributions collapsible management.static interface
Interface to be implemented by sources that should provide projection management.static interface
Interface to be implemented by sources that should provide all attributes fromSource
.static interface
Interface to be implemented by sources that should provide WrapX management.Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
MapObservableObject.ObjectChangeEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected Boolean
protected String
protected CRS
protected Boolean
Fields inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
children, dirty, eventBus, listener, metaProperties, parent, removedChildren, syncId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Boolean
getId()
protected CRS
protected Boolean
getWrapX()
protected void
setAttributions
(List<String> attributions) protected void
setAttributionsCollapsible
(Boolean collapsible) void
Sets the id to the source.protected void
setProjection
(CRS projection) protected void
Methods inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
addChild, addListener, clearRemovedChildren, clearRemovedChildrenInDepth, equals, fireChangeEvent, getChildren, getEventBus, getMetaProperties, getRemovedChildren, getSyncId, getType, hashCode, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setMapObjectChangeListener, setMetaProperty, setParent, unmarkDirtyInDepth
-
Field Details
-
attributions
-
attributionsCollapsible
-
projection
-
wrapX
-
id
-
-
Constructor Details
-
Source
public Source()
-
-
Method Details
-
getId
- Returns:
- id or
null
if not set
-
setId
Sets the id to the source.- Parameters:
id
- id to set
-
getAttributions
-
setAttributions
-
getAttributionsCollapsible
-
setAttributionsCollapsible
-
getProjection
-
setProjection
-
getWrapX
-
setWrapX
-