AttributionControl class

The attribution control allows you to display attribution data in a small text box on a map. It is put on the map by default unless you set its attributionControl option to false, and it fetches attribution texts from layers with the getAttribution method automatically.

Inheritance
Annotations
  • @JS('L.control.attribution')

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addTo(LeafletMap map) Control
Adds the control to the given map.
inherited
getContainer() Element
Returns the HTMLElement that contains the control.
inherited
getPosition() String
Returns the position of the control.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove() Control
Removes the control from the map it is currently active on.
inherited
setPosition(String position) Control
Sets the position of the control.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited