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.HasPreloadNested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TileLayerOptions<S extends TileSource>
Sprotected StringgetType()voidsetPreload(Integer preload) Sets the preload level.Methods inherited from class io.jmix.mapsflowui.kit.component.model.layer.BaseTileLayer
getOptionsMethods 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, withZIndexMethods 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:
createOptionsin classLayer<TileSource>
-
getType
- Specified by:
getTypein classMapObservableObject
-
getSource
- Specified by:
getSourcein classLayer<TileSource>- Type Parameters:
S- the source type- Returns:
- the layer source or
nullif not set
-
getPreload
- Specified by:
getPreloadin interfaceBaseTileLayer.HasPreload- Overrides:
getPreloadin classBaseTileLayer- Returns:
- the level to preload tiles up to or
nullif not set
-
setPreload
Description copied from interface:BaseTileLayer.HasPreloadSets the preload level. Layer loads low-resolution tiles up to preload levels. The default value is0which means no preloading.For more details see: setPreload() docs
- Specified by:
setPreloadin interfaceBaseTileLayer.HasPreload- Overrides:
setPreloadin classBaseTileLayer- Parameters:
preload- the level to preload tiles up to
-