Skip to content

Control.Attribution

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. Extends Control.

Control options

OptionTypeDefaultDescription
attributionControlBooleantrueWhether a attribution control is added to the map by default.

Options

OptionTypeDefaultDescription
positionString'bottomright'The position of the control (one of the map corners). Possible values are 'topleft',
prefix`Stringfalse`'Leaflet'