Class BaseTileLayer
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
- All Implemented Interfaces:
HasBaseLayerOptions,HasBaseTileLayerOptions,Serializable
- Direct Known Subclasses:
NoOpTileLayer,TileLayer
Base class for layers with sources that provide pre-rendered, tiled images in grids that are organized by zoom
levels for specific resolutions.
For more details see: BaseTileLayer docs
- See Also:
-
Nested Class Summary
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, removedChildren, syncId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected HasBaseTileLayerOptionsvoidsetPreload(Integer preload) Sets the preload level.withPreload(Integer preload) SeesetPreload(Integer).Methods inherited from class io.jmix.mapsflowui.kit.component.model.layer.Layer
createOptions, getClassName, getExtent, getId, getMaxZoom, getMinZoom, getOpacity, getSource, getZIndex, isVisible, 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, getType, hashCode, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setMapObjectChangeListener, setMetaProperty, unmarkDirtyInDepthMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.mapsflowui.kit.component.model.layer.option.HasBaseLayerOptions
getClassName, getExtent, getMaxZoom, getMinZoom, getOpacity, getZIndex, isVisible, setClassName, setExtent, setMaxZoom, setMinZoom, setOpacity, setVisible, setZIndex
-
Constructor Details
-
BaseTileLayer
public BaseTileLayer()
-
-
Method Details
-
getPreload
- Specified by:
getPreloadin interfaceHasBaseTileLayerOptions- Returns:
- the level to preload tiles up to or
nullif not set
-
setPreload
Description copied from interface:HasBaseTileLayerOptionsSets 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 interfaceHasBaseTileLayerOptions- Parameters:
preload- the level to preload tiles up to
-
withPreload
SeesetPreload(Integer).- Parameters:
preload- the level to preload tiles up to- Returns:
- current instance
-
getOptions
- Specified by:
getOptionsin classLayer<TileSource>
-