We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.map.configuration.layer.
Class TileLayer
- java.lang.Object
-
- com.vaadin.flow.component.map.configuration.AbstractConfigurationObject
-
- com.vaadin.flow.component.map.configuration.layer.Layer
-
- com.vaadin.flow.component.map.configuration.layer.TileLayer
-
All Implemented Interfaces:
public class TileLayer extends Layer
Layer for displaying tiled map data
See Also:
-
-
Field Summary
-
Fields inherited from class com.vaadin.flow.component.map.configuration.AbstractConfigurationObject
propertyChangeSupport
-
-
Constructor Summary
Constructors Constructor Description TileLayer()
-
Method Summary
All Methods Modifier and Type Method Description TileSource
getSource()
String
getType()
The unique type name of this class.
void
setSource(UrlTileSource source)
Sets the source for this layer.
-
Methods inherited from class com.vaadin.flow.component.map.configuration.layer.Layer
getBackground, getMaxZoom, getMinZoom, getOpacity, getzIndex, isVisible, setBackground, setMaxZoom, setMinZoom, setOpacity, setVisible, setzIndex
-
Methods inherited from class com.vaadin.flow.component.map.configuration.AbstractConfigurationObject
addChild, addPropertyChangeListener, collectChanges, deepMarkAsDirty, getId, markAsDirty, notifyChange, notifyChange, removeChild, removePropertyChangeListener, setId, update
-
-
-
-
Method Detail
-
getType
public String getType()
Description copied from class:
AbstractConfigurationObject
The unique type name of this class. Used by the client-side synchronization mechanism to determine which OpenLayers class to synchronize into.
Specified by:
getType
in classAbstractConfigurationObject
-
getSource
public TileSource getSource()
Returns:
source for this layer, null by default
-
setSource
public void setSource(UrlTileSource source)
Sets the source for this layer. The source must be a subclass of
TileSource
, which means that it must provide tiled map data.Parameters:
source
- the new source for the layer, not null
-
-