WeatherLayers
Search…
Attribution Control
Attribution control shows the attribution for the data producer

Example

Attribution Control
1
import * as WeatherLayers from '@weatherlayers/weatherlayers-gl';
2
3
// configure WeatherLayers Cloud client
4
WeatherLayers.setClientConfig({
5
accessToken: 'xxx',
6
});
7
8
const attributionControl = new WeatherLayers.AttributionControl({
9
dataset: ..., // string (STAC Collection ID)
10
});
Copied!
Copy link
Contents
Example