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
-
Method Summary
Modifier and TypeMethodDescriptionprotected HasBaseTileLayerOptions
void
setPreload
(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, withZIndex
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, unmarkDirtyInDepth
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getPreload
in interfaceHasBaseTileLayerOptions
- Returns:
- the level to preload tiles up to or
null
if not set
-
setPreload
Description copied from interface:HasBaseTileLayerOptions
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 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:
getOptions
in classLayer<TileSource>
-