Class NoOpOsmSource
java.lang.Object
io.jmix.mapsflowui.kit.component.model.MapObservableObject
io.jmix.mapsflowui.kit.component.model.source.Source
io.jmix.mapsflowui.kit.component.model.source.TileSource
io.jmix.mapsflowui.kit.component.model.source.UrlTileSource
io.jmix.mapsflowui.kit.component.model.source.TileImageSource
io.jmix.mapsflowui.kit.component.model.source.AbstractXyzSource
io.jmix.mapsflowui.kit.component.model.source.NoOpOsmSource
- All Implemented Interfaces:
AbstractXyzSource.HasMaxZoom
,HasCrossOrigin
,HasUrl
,Source.HasAttributions
,Source.HasWrapX
,TileSource.HasCacheSize
,TileSource.HasOpaque
,Serializable
public class NoOpOsmSource
extends AbstractXyzSource
implements Source.HasAttributions, TileSource.HasCacheSize, HasCrossOrigin, AbstractXyzSource.HasMaxZoom, TileSource.HasOpaque, HasUrl, Source.HasWrapX
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.source.AbstractXyzSource
AbstractXyzSource.HasMaxZoom, AbstractXyzSource.HasMinZoom, AbstractXyzSource.HasTileSize, AbstractXyzSource.HasXyzSourceOptions
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.source.UrlTileSource
UrlTileSource.HasUrls, UrlTileSource.HasUrlTileSourceOptions
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.source.TileSource
TileSource.HasCacheSize, TileSource.HasOpaque, TileSource.HasTileSourceOptions
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.source.Source
Source.HasAttributions, Source.HasAttributionsCollapsible, Source.HasProjection, Source.HasSourceOptions, Source.HasWrapX
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.source.AbstractXyzSource
gutter, maxZoom, minZoom, tileSize
Fields inherited from class io.jmix.mapsflowui.kit.component.model.source.TileImageSource
crossOrigin
Fields inherited from class io.jmix.mapsflowui.kit.component.model.source.UrlTileSource
url, urls
Fields inherited from class io.jmix.mapsflowui.kit.component.model.source.TileSource
cacheSize, opaque
Fields inherited from class io.jmix.mapsflowui.kit.component.model.source.Source
attributions, attributionsCollapsible, projection, wrapX
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 String
getType()
getUrl()
getWrapX()
void
setAttributions
(List<String> attributions) void
setCacheSize
(Integer cacheSize) void
setCrossOrigin
(String crossOrigin) void
setMaxZoom
(Integer maxZoom) void
void
void
Methods inherited from class io.jmix.mapsflowui.kit.component.model.source.AbstractXyzSource
getGutter, getMinZoom, getTileSize, setGutter, setMinZoom, setTileSize
Methods inherited from class io.jmix.mapsflowui.kit.component.model.source.UrlTileSource
getUrls, setUrls
Methods inherited from class io.jmix.mapsflowui.kit.component.model.source.Source
getAttributionsCollapsible, getProjection, setAttributionsCollapsible, setProjection
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, unmarkDirtyInDepth
-
Constructor Details
-
NoOpOsmSource
public NoOpOsmSource()
-
-
Method Details
-
getType
- Specified by:
getType
in classMapObservableObject
-
getAttributions
Description copied from class:Source
- Specified by:
getAttributions
in interfaceSource.HasAttributions
- Overrides:
getAttributions
in classSource
- Returns:
- the attributions of the source or
null
if not set
-
setAttributions
Description copied from class:Source
- Specified by:
setAttributions
in interfaceSource.HasAttributions
- Overrides:
setAttributions
in classSource
- Parameters:
attributions
- info about copyrights and licences
-
getWrapX
Description copied from class:Source
- Specified by:
getWrapX
in interfaceSource.HasWrapX
- Overrides:
getWrapX
in classSource
- Returns:
- whether the source should be looped along the X coordinate or
null
if not set
-
setWrapX
Description copied from class:Source
- Specified by:
setWrapX
in interfaceSource.HasWrapX
- Overrides:
setWrapX
in classSource
- Parameters:
wrapX
- whether the source should be looped along the X coordinate
-
getMaxZoom
Description copied from class:AbstractXyzSource
- Specified by:
getMaxZoom
in interfaceAbstractXyzSource.HasMaxZoom
- Overrides:
getMaxZoom
in classAbstractXyzSource
- Returns:
- max zoom level or
null
if not set
-
setMaxZoom
Description copied from class:AbstractXyzSource
- Specified by:
setMaxZoom
in interfaceAbstractXyzSource.HasMaxZoom
- Overrides:
setMaxZoom
in classAbstractXyzSource
- Parameters:
maxZoom
- zoom to set
-
getCrossOrigin
Description copied from class:TileImageSource
- Specified by:
getCrossOrigin
in interfaceHasCrossOrigin
- Overrides:
getCrossOrigin
in classTileImageSource
- Returns:
- cross-origin or
null
if not set
-
setCrossOrigin
Description copied from class:TileImageSource
- Specified by:
setCrossOrigin
in interfaceHasCrossOrigin
- Overrides:
setCrossOrigin
in classTileImageSource
- Parameters:
crossOrigin
- cross-origin to set
-
getCacheSize
Description copied from class:TileSource
- Specified by:
getCacheSize
in interfaceTileSource.HasCacheSize
- Overrides:
getCacheSize
in classTileSource
- Returns:
- tile cache size or
null
if not set
-
setCacheSize
Description copied from class:TileSource
- Specified by:
setCacheSize
in interfaceTileSource.HasCacheSize
- Overrides:
setCacheSize
in classTileSource
- Parameters:
cacheSize
- the cache size to set
-
getOpaque
Description copied from class:TileSource
- Specified by:
getOpaque
in interfaceTileSource.HasOpaque
- Overrides:
getOpaque
in classTileSource
- Returns:
- whether the layer is opaque or
null
if not set
-
setOpaque
Description copied from class:TileSource
- Specified by:
setOpaque
in interfaceTileSource.HasOpaque
- Overrides:
setOpaque
in classTileSource
- Parameters:
opaque
- opaque option
-
getUrl
Description copied from class:UrlTileSource
- Specified by:
getUrl
in interfaceHasUrl
- Overrides:
getUrl
in classUrlTileSource
- Returns:
- URL or
null
if not set
-
setUrl
Description copied from class:UrlTileSource
- Specified by:
setUrl
in interfaceHasUrl
- Overrides:
setUrl
in classUrlTileSource
- Parameters:
url
- url to set
-