> For the complete documentation index, see [llms.txt](https://docs.weatherlayers.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.weatherlayers.com/weatherlayers-gl/controls/attribution-control.md).

# Attribution Control

Attribution control shows the attribution for the data producer

### Example

![Attribution Control](/files/UqsQUak5ULtsHW5rDsUH)

```javascript
import * as WeatherLayers from 'weatherlayers-gl';

const attributionControl = new WeatherLayers.AttributionControl({
  attribution: 'NOAA / GFS via WeatherLayers',
});
attributionControl.addTo(document.getElementById('controls'));
```

### Constructor

#### `AttributionControl(config: AttributionConfig = {})`

### Config Properties

#### `attribution`

Type: string, required

Attribution to be displayed.

### Methods

See [Control](/weatherlayers-gl/controls/control.md) for common Control methods.
