Class NoOpTileLayer
java.lang.Object
io.jmix.mapsflowui.kit.component.model.MapObservableObject
io.jmix.mapsflowui.kit.component.model.layer.Layer<TileSource>
io.jmix.mapsflowui.kit.component.model.layer.BaseTileLayer
io.jmix.mapsflowui.kit.component.model.layer.NoOpTileLayer
- All Implemented Interfaces:
BaseTileLayer.HasBaseTileLayerOptions
,BaseTileLayer.HasPreload
,HasBaseLayerOptions
,Serializable
INTERNAL.
Stub implementation, do not use in application. Used by Jmix Studio for showing preview.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.layer.BaseTileLayer
BaseTileLayer.HasBaseTileLayerOptions, BaseTileLayer.HasPreload
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
MapObservableObject.ObjectChangeEvent
-
Field Summary
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 TileLayerOptions
<S extends TileSource>
Sprotected String
getType()
void
setPreload
(Integer preload) Sets the preload level.Methods inherited from class io.jmix.mapsflowui.kit.component.model.layer.BaseTileLayer
getOptions
Methods inherited from class io.jmix.mapsflowui.kit.component.model.layer.Layer
getClassName, getExtent, getId, getMaxZoom, getMinZoom, getOpacity, 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, getSyncId, hashCode, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setMapObjectChangeListener, setMetaProperty, setParent, unmarkDirtyInDepth
-
Constructor Details
-
NoOpTileLayer
public NoOpTileLayer()
-
-
Method Details
-
createOptions
- Specified by:
createOptions
in classLayer<TileSource>
-
getType
- Specified by:
getType
in classMapObservableObject
-
getSource
- Specified by:
getSource
in classLayer<TileSource>
- Type Parameters:
S
- the source type- Returns:
- the layer source or
null
if not set
-
getPreload
- Specified by:
getPreload
in interfaceBaseTileLayer.HasPreload
- Overrides:
getPreload
in classBaseTileLayer
- Returns:
- the level to preload tiles up to or
null
if not set
-
setPreload
Description copied from interface:BaseTileLayer.HasPreload
Sets the preload level. Layer loads low-resolution tiles up to preload levels. The default value is0
which means no preloading.For more details see: setPreload() docs
- Specified by:
setPreload
in interfaceBaseTileLayer.HasPreload
- Overrides:
setPreload
in classBaseTileLayer
- Parameters:
preload
- the level to preload tiles up to
-