com.vaadin.flow.component.map.configuration.source.
Class OSMSource
All Implemented Interfaces:
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
Nested Classes -
Field Summary
Fields inherited from class com.vaadin.flow.component.map.configuration.AbstractConfigurationObject
propertyChangeSupport
-
Constructor Summary
Constructors -
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, addNullableChild, 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. For
OSMSource
the default isfalse
, and this value can not be changed in the options.Overrides:
isAttributionsCollapsible
in classSource
Returns:
whether attributions are collapsible
-