Constructor
new Attribution(map, positionopt)
Creates an instance of the Attribution tool.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
map |
Map | The map instance. | ||
position |
string |
<optional> |
"bottom-right" | The position of the attribution element on the map. |
- Source:
Extends
- UiElement
Methods
update()
Updates the attribution element with the current base layer's attribution.
- Source: