Class NoOpXyzSource
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.NoOpXyzSource
- All Implemented Interfaces:
AbstractXyzSource.HasMaxZoom
,AbstractXyzSource.HasMinZoom
,AbstractXyzSource.HasTileSize
,AbstractXyzSource.HasXyzSourceOptions
,HasCrossOrigin
,HasGutter
,HasUrl
,Source.HasAttributions
,Source.HasAttributionsCollapsible
,Source.HasProjection
,Source.HasSourceOptions
,Source.HasWrapX
,TileSource.HasCacheSize
,TileSource.HasOpaque
,TileSource.HasTileSourceOptions
,UrlTileSource.HasUrls
,UrlTileSource.HasUrlTileSourceOptions
,Serializable
public class NoOpXyzSource
extends AbstractXyzSource
implements Source.HasSourceOptions, TileSource.HasTileSourceOptions, UrlTileSource.HasUrlTileSourceOptions, AbstractXyzSource.HasXyzSourceOptions, HasCrossOrigin, HasGutter
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()
getUrls()
getWrapX()
void
setAttributions
(List<String> attributions) void
setAttributionsCollapsible
(Boolean collapsible) void
setCacheSize
(Integer cacheSize) void
setCrossOrigin
(String crossOrigin) void
void
setMaxZoom
(Integer maxZoom) void
setMinZoom
(Integer minZoom) void
void
setProjection
(CRS projection) void
setTileSize
(Size tileSize) void
void
void
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
-
NoOpXyzSource
public NoOpXyzSource()
-
-
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
-
getAttributionsCollapsible
Description copied from class:Source
- Specified by:
getAttributionsCollapsible
in interfaceSource.HasAttributionsCollapsible
- Overrides:
getAttributionsCollapsible
in classSource
- Returns:
- whether attributions should always be visible or can be hidden by info icon,
null
value means that default value is used:true
-
setAttributionsCollapsible
Description copied from class:Source
- Specified by:
setAttributionsCollapsible
in interfaceSource.HasAttributionsCollapsible
- Overrides:
setAttributionsCollapsible
in classSource
- Parameters:
collapsible
- whether attributions should always be visible
-
getProjection
Description copied from class:Source
- Specified by:
getProjection
in interfaceSource.HasProjection
- Overrides:
getProjection
in classSource
- Returns:
- projection or
null
if not set
-
setProjection
Description copied from class:Source
- Specified by:
setProjection
in interfaceSource.HasProjection
- Overrides:
setProjection
in classSource
- Parameters:
projection
- projection to set
-
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
-
getGutter
Description copied from class:AbstractXyzSource
- Specified by:
getGutter
in interfaceHasGutter
- Overrides:
getGutter
in classAbstractXyzSource
- Returns:
- gutter or
null
if not set
-
setGutter
Description copied from class:AbstractXyzSource
- Specified by:
setGutter
in interfaceHasGutter
- Overrides:
setGutter
in classAbstractXyzSource
- Parameters:
gutter
- gutter to set
-
getTileSize
Description copied from class:AbstractXyzSource
- Specified by:
getTileSize
in interfaceAbstractXyzSource.HasTileSize
- Overrides:
getTileSize
in classAbstractXyzSource
- Returns:
- the tile size or
null
if not set
-
setTileSize
Description copied from class:AbstractXyzSource
- Specified by:
setTileSize
in interfaceAbstractXyzSource.HasTileSize
- Overrides:
setTileSize
in classAbstractXyzSource
- Parameters:
tileSize
- tile size to set
-
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
-
getMinZoom
Description copied from class:AbstractXyzSource
- Specified by:
getMinZoom
in interfaceAbstractXyzSource.HasMinZoom
- Overrides:
getMinZoom
in classAbstractXyzSource
- Returns:
- min zoom level or
null
if not set
-
setMinZoom
Description copied from class:AbstractXyzSource
- Specified by:
setMinZoom
in interfaceAbstractXyzSource.HasMinZoom
- Overrides:
setMinZoom
in classAbstractXyzSource
- Parameters:
minZoom
- 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
-
getUrls
Description copied from class:UrlTileSource
- Specified by:
getUrls
in interfaceUrlTileSource.HasUrls
- Overrides:
getUrls
in classUrlTileSource
- Returns:
- list of URL patterns or
null
if not set
-
setUrls
Description copied from class:UrlTileSource
- Specified by:
setUrls
in interfaceUrlTileSource.HasUrls
- Overrides:
setUrls
in classUrlTileSource
- Parameters:
urls
- url patterns to set
-