import * as WeatherLayers from '@weatherlayers/weatherlayers-gl';
// configure WeatherLayers Cloud client
WeatherLayers.setClientConfig({
const legendControl = new WeatherLayers.LegendControl({
dataset: ..., // string (STAC Collection ID)
ticksCount: ..., // number