UNPKG

@maptiler/weather

Version:

Weather layers for MapTiler Cloud and MapTiler SDK

126 lines (99 loc) • 3.94 kB
# MapTiler Client Changelog ## 3.1.1 ### ✨ Features and improvements * _None_ ### šŸ› Bug fixes * Rolls back three.js version to r135 as newer versions surfaced breaking changes ### šŸ”§ Others * _None_ ## 3.1.0 ### ✨ Features and improvements * _None_ ### šŸ› Bug fixes * _None_ ### šŸ”§ Others * Update @maptiler/sdk to latest version (3.5.0) * Remove un-needed maplibre-gl dep * tie down dependencies to minor version compatibility ## 3.0.1 - Fix for bug that only rendered partial surface for weather in globe on higher res screens. ## 3.0.0 āš ļø Please keep in mind that if you use **MapTiler Weather JS v3** you must update version of **MapTiler SDK JS** to **v3**. ### ✨ Features and improvements * Globe projection support ### šŸ› Bug fixes * _None_ ### šŸ”§ Others * Using MapTiler SDK JS v3 ## 2.2.1 ### Others - Updating to MapTiler SDK v2.4 ## 2.2.0 ### Others - Updating to MapTiler SDK v2.3 ## 2.1.0 ### New Features - Inter-tile interpolaltion (opt-in) when using a multi channel coloring fragment - Bilinear in terpolation with the picking function (opt-in) of all layers - Possible to chose which channels to leverage in a multi channel coloring fragment for both the value and the category - Piking now fully relies on WebGL framebuffer rendering and LRU-cached texture (much faster + more reliable) - Picking when a single tileset is set now only reads the texture once (vs twice, attempting time interpolation as before) - Code quality improvement (thanks to BiomeJS review) ### Others - Computing the tile extent no longer relies on OpenLayers - Replaced ESLint and Prettier by BiomeJS - Using latest MapTiler SDK version (v2.2.2) ## 2.0.1 ### Bug Fixes - Readme images are now stored on MapTiler CDN to be visible from NPM ## 2.0.0 ### New Features - Weather layers now have a `.onSourceReadyAsync()` method to wait for source readyness ### Others - Updated to MapTiler SDK v2 ## 1.1.2 ### Others - Improved the pick method, It is now using a canvas context cache and the options `willReadFrequently` so picking is about 200x faster - The webgl based picking (bypassing alpha premultiplication) is still used when using a multi channel coloring fragment, since alpha chan is less likely to be 255. ## 1.1.1 ### Bug Fixes - Terser was replaced by Vite for producing the minified UMD bundle because the Terser one was buggy on Safari ## 1.1.0 ### New Features ParticleLayer can have the options to render faster particles slightly larger (opt-in options with `fastIsLarger`) ### Bug Fixes - ParticleLayer no longer shows tilling pattern - ParticleLayer protection to avoid rendering particle splashing artefact (opt-in with option `angleDirectionShiftSkip`) - ParticleLayer can now render particles of similar speed regardless of screen size (opt-in option with `uniformSpeed`) ## 1.0.5 ### Others - Exposing more elements to be leveraged by MapTiler Weather Plus library. ## 1.0.4 ### New Features - pressure color ramp now has a neutral point at 1013hPa - enable tile fetching on tiles being `.pick()`ed even when layer visibility is `none` ### Bug Fixes - No longer trying to fetch tiles with negative indices - `mtsid` is longer added twice (it was when the source contained it already) - ColorRamps `min` and `max` is now updated with `.scale()` ### Others - Better minification for the prod bundles ## 1.0.3 ### Bug Fixes - Removed many TS warning fix by using more explicit typing ### Others - TS exported types are now per module - Now bundling with Vite - Building from GH action ## 1.0.2 ### Bug Fixes - Fixed quite a bit of TypeScript issues ### Others - Removed the peer dependency to MapLibre ## 1.0.1 ### New Features - The MapTiler Session ID (mtsid) is now being propagated to the tile fetching logic internal to the library - Same with the API key (key) As a result, no need to specify those as part of the source URL (.addSource()) ## 1.0.0 First release šŸŽ‰