Class: Attribution

vef.map.tools.Attribution(map, positionopt)

Represents a simple map attribution tool.

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: