Attribution
open class Attribution(options: Attribution.AttributionOptions = definedExternally) : Control<Attribution.AttributionOptions> (source)
Functions
Link copied to clipboard
                  Adds an attribution text (e.g. Vector data © Mapbox).
Link copied to clipboard
                  Adds a constructor hook to the class.
Link copied to clipboard
                  Adds the control to the given map.
Link copied to clipboard
                  Returns the HTMLElement that contains the control.
Link copied to clipboard
                  Returns the position of the control.
Link copied to clipboard
                  Merges options into the defaults of the class.
Link copied to clipboard
                  Should return the container DOM element for the control and add listeners on relevant map events. Called on addTo
Link copied to clipboard
                  Optional method. Should contain all clean up code that removes the listeners previously added in onAdd. Called on remove.
Link copied to clipboard
                  Removes the control from the map it is currently active on.
Link copied to clipboard
                  Removes an attribution text.
Link copied to clipboard
                  Sets the position of the control.
Link copied to clipboard
                  The HTML text shown before the attributions. Pass false to disable.