WeatherLayers
Search…
Overview
WeatherLayers Cloud
WeatherLayers GL
Standalone Bundle
Cloud Bundle
Data
Layers
Controls
Legend Control
Timeline Control
Tooltip Control
Attribution Control
Pricing
Changelog
Knowledge Base
Demo
Roadmap
Contact
Powered By
GitBook
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!
Previous
Tooltip Control
Next
Pricing
Last modified
3mo ago
Copy link
Contents
Example