Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description classNamestring <optional>
'ol-attribution' CSS class name.
targetHTMLElement | string <optional>
Specify a target if you want the control to be rendered outside of the map's viewport.
collapsibleboolean <optional>
Specify if attributions can be collapsed. If not specified, sources control this behavior with their
attributionsCollapsiblesetting.collapsedboolean <optional>
true Specify if attributions should be collapsed at startup.
tipLabelstring <optional>
'Attributions' Text label to use for the button tip.
labelstring <optional>
'i' Text label to use for the collapsed attributions button. Instead of text, also an element (e.g. a
spanelement) can be used.collapseLabelstring | HTMLElement <optional>
'»' Text label to use for the expanded attributions button. Instead of text, also an element (e.g. a
spanelement) can be used.renderfunction <optional>
Function called when the control should be re-rendered. This is called in a
requestAnimationFramecallback.
OpenLayers