Class ImageLayer
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.ImageLayer
- All Implemented Interfaces:
Serializable
Layer for server-rendered images that are available in arbitrary extents and
resolutions.
- See Also:
-
Field Summary
Fields inherited from class com.vaadin.flow.component.map.configuration.AbstractConfigurationObject
propertyChangeSupport
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
The unique type name of this class.void
setSource
(ImageSource 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, addNullableChild, addPropertyChangeListener, collectChanges, deepMarkAsDirty, getId, markAsDirty, notifyChange, notifyChange, removeChild, removePropertyChangeListener, setId, update
-
Constructor Details
-
ImageLayer
public ImageLayer()
-
-
Method Details
-
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
- Returns:
- source for this layer, null by default
-
setSource
Sets the source for this layer. The source must be a subclass ofImageSource
, which means that it provides single, untiled images.- Parameters:
source
- the new source for the layer, not null
-