Attribution Control

Attribution control shows the attribution for the data producer

Example

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 for common Control methods.

Last updated