Class OSMSource
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
com.vaadin.flow.component.map.configuration.source.UrlTileSource
com.vaadin.flow.component.map.configuration.source.TileImageSource
com.vaadin.flow.component.map.configuration.source.XYZSource
com.vaadin.flow.component.map.configuration.source.OSMSource
- All Implemented Interfaces:
Serializable
Map source for loading tiled images from an OpenStreetMap service. The source
will use the official OpenStreetMap service by default. A custom URL can be
configured to load data from a different service.
- See Also:
-
Nested Class Summary
-
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.boolean
Determines whether attributions are collapsible.Methods inherited from class com.vaadin.flow.component.map.configuration.source.XYZSource
getUrl, setUrl
Methods inherited from class com.vaadin.flow.component.map.configuration.source.TileImageSource
getCrossOrigin
Methods inherited from class com.vaadin.flow.component.map.configuration.source.TileSource
isOpaque
Methods inherited from class com.vaadin.flow.component.map.configuration.source.Source
getAttributions, getProjection, setAttributions
Methods inherited from class com.vaadin.flow.component.map.configuration.AbstractConfigurationObject
addChild, addPropertyChangeListener, collectChanges, deepMarkAsDirty, getId, markAsDirty, notifyChange, notifyChange, removeChild, removePropertyChangeListener, setId, update
-
Constructor Details
-
OSMSource
public OSMSource() -
OSMSource
-
-
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. -
isAttributionsCollapsible
public boolean isAttributionsCollapsible()Determines whether attributions are collapsible. ForOSMSource
the default isfalse
, and this value can not be changed in the options.- Overrides:
isAttributionsCollapsible
in classSource
- Returns:
- whether attributions are collapsible
-