Class TileSource
- java.lang.Object
-
- com.vaadin.flow.component.map.configuration.AbstractConfigurationObject
-
- com.vaadin.flow.component.map.configuration.source.Source
-
- com.vaadin.flow.component.map.configuration.source.TileSource
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UrlTileSource
public abstract class TileSource extends Source
Abstract base class for map sources providing tiled map data- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
TileSource.Options
-
Field Summary
-
Fields inherited from class com.vaadin.flow.component.map.configuration.AbstractConfigurationObject
propertyChangeSupport
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TileSource(TileSource.Options options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isOpaque()
Whether the source has an opaque background or not.-
Methods inherited from class com.vaadin.flow.component.map.configuration.source.Source
getAttributions, getProjection, isAttributionsCollapsible, setAttributions
-
Methods inherited from class com.vaadin.flow.component.map.configuration.AbstractConfigurationObject
addChild, addPropertyChangeListener, collectChanges, deepMarkAsDirty, getId, getType, markAsDirty, notifyChange, notifyChange, removeChild, removePropertyChangeListener, setId, update
-
-
-
-
Constructor Detail
-
TileSource
protected TileSource(TileSource.Options options)
-
-
Method Detail
-
isOpaque
public boolean isOpaque()
Whether the source has an opaque background or not. A non-opaque source has a transparent background, which is useful for overlay layers. Default value isfalse
.This value can not be changed after constructing an instance, it can only be set initially by passing an options object to the constructor.
- Returns:
- whether the source has an opaque background
-
-