Changelog
Big fixes:
- Fix bundling with Webpack
Minor changes:
- Add loader to Timeline control
- Add Logo control
Bug fixes:
- Fix Timeline control compatibility with older browsers
Minor changes:
- Add
fps
config property to Timeline control
Bug fixes:
- Fix Timeline control compatibility with older browsers
New features:
- Add
getRasterPoints
function to get raster points for the given positions
Minor changes:
- Add
offsetDatetime
andoffsetDatetimeRange
functions to add hours to the given datetime - Remove unused
loadText
function - Update deck.gl dependency to 8.9.9
Bug fixes:
- Verify that the library is deployed on a secure origin
- Verify that the license has an expected type before verifying the signature
- Log image URL if image decoding fails
Minor changes:
- Update deck.gl dependency to 8.9.6
Bug fixes:
- Fix browser crash when ESM build is used with Vite
Minor changes:
- Update selected datetime in Timeline control when updating the datetime from outside
- Add
pause
andreset
methods to Timeline control - Add
datetimeFormatFunction
to Timeline control - Add
DatetimeISOString
type
Minor changes:
- Optimize bundle size
Bug fixes:
- Update package exports to expose a default export for TS moduleResolution = node and unpkg.com
- Update TS typings to enable arbitrary layer props such as layer extensions
New features:
- Publish as npm package
- Install the library with
npm install weatherlayers-gl
- Use the library with
import WeatherLayers from 'weatherlayers-gl'
- Update licensing approach to a separate
license.json
file- Provide the license file to the library with
WeatherLayers.setLicense(license)
- Migrate to TypeScript
- Typing files are provided as part of the distribution package
Minor changes:
- Add
image2
,imageSmoothing
andimageWeight
to HighLow layer - Improve HighLow layer performance when zooming in/out
- Add
toggle
,start
,stop
,stepBackward
andstepForward
methods to Timeline control - Update deck.gl dependency to 8.9.4
Bug fixes:
- Prefer default values over provided
undefined
values - Remove references to
worker_threads
Node dependency
Bug fixes:
- Remove references to
worker_threads
Node dependency
New features:
- Add cubic interpolation for smoother visualization Rename
imageInterpolate
data property toimageInterpolation
, change type from boolean to enum AddimageSmoothing
data property
Bug fixes:
- Fix parsing palettes with values in scientific notation https://github.com/weatherlayers/cpt2js/issues/2
- Clamp to edge data on poles
Minor changes:
- Add
unitFormat
to Grid and HighLow layer for consistent value formatting across layers and controls
New features:
Bug fixes:
- Fix Particle layer to drop particles out of bounds, to support regional vector data https://github.com/weatherlayers/deck.gl-particle/issues/10
Minor changes:
- Rename HighLow and Grid layer
textFunction
style property totextFormatFunction
- Update deck.gl dependency to 8.8.4
New features:
- Add Contour layer computed on GPU for animation support Replace previous Contour layer computed on CPU
Bug fixes:
- Fix half-pixel data rendering misalignment
Minor changes:
- Remove deprecated Raster layer
colormapBreaks
style property, usepalette
instead - Update deck.gl dependency to 8.8.2
New features:
- Add support for color palette text format Deprecate raster layer
colormapBreaks
style property, usepalette
instead https://github.com/weatherlayers/cpt2js https://github.com/stac-extensions/raster/issues/17 https://github.com/radiantearth/stac-spec/pull/1181
Bug fixes:
- Fix particle layer breaking in deck.gl auto-offset mode at zoom >= 12 on Mac M1 https://github.com/weatherlayers/deck.gl-particle/issues/5
- Fix raster layer opacity with Google Maps vector basemap https://github.com/visgl/deck.gl/issues/6296 https://github.com/visgl/deck.gl/pull/6804
- Fix raster layer disappearing in deck.gl auto-offset mode at zoom >= 12 https://github.com/visgl/deck.gl/issues/6798 https://github.com/visgl/deck.gl/pull/6801
Minor changes:
- Update deck.gl dependency to 8.7.5
New features:
Last modified 7d ago