HighLow Layer
Last updated
import { Deck } from '@deck.gl/core';
import * as WeatherLayers from 'weatherlayers-gl';
// load data
const image = await WeatherLayers.loadTextureData(url);
const deckgl = new Deck({
layers: [
new WeatherLayers.HighLowLayer({
id: 'highLow',
// data properties
image: image,
bounds: [-180, -90, 180, 90],
// style properties
radius: 1000, // km
}),
],
});