Releases: hongfaqiu/cesium-wind-layer
Releases · hongfaqiu/cesium-wind-layer
cesium-wind-layer@0.6.0
Minor Changes
-
feat: add event system for wind layer
- Add event system for data and options changes
- Add WindLayerEventType and WindLayerEventCallback types
- Implement addEventListener and removeEventListener methods
- Add event dispatching for data and options updates
- Improve texture recreation when updating wind data
cesium-wind-layer@0.5.3
Patch Changes
-
fix: calculate frame rate only during initialization
- Move frame rate calculation to initialization phase
- Use timestamp array to measure frames in the last second
- Calculate FPS once with 120 frames sample for better accuracy
- Store frame rate adjustment factor for consistent particle speed
cesium-wind-layer@0.5.2
Patch Changes
- fix: fix default render options
cesium-wind-layer@0.5.1
Patch Changes
-
fix: adjust particle speed based on actual frame rate
- Add real-time frame rate measurement to normalize particle speed
- Update frame rate calculation every 500ms for better performance
- Apply frame rate adjustment (60/fps) to maintain consistent particle movement speed across different devices
cesium-wind-layer@0.5.0
Minor Changes
-
feat: enhance wind layer visualization and data query
-
Improve particle system performance and coverage
- Fix particle distribution in certain areas
- Optimize particle generation algorithm
- Adjust particle visibility calculation
- Add 5% buffer to view range for smoother transitions
-
Enhance wind data query functionality
- Refactor WindDataAtLonLat interface with clear structure
- Add bilinear interpolation for wind data
- Separate original and interpolated data in query results
- Add detailed JSDoc comments for better type documentation
BREAKING CHANGE: WindDataAtLonLat interface structure has changed. Now returns data in 'original' and 'interpolated' sub-objects.
-
cesium-wind-layer@0.4.3
Patch Changes
- Tilting the camera angle still displays particles
cesium-wind-layer@0.4.2
Patch Changes
- Color correctly represents speed
cesium-wind-layer@0.4.1
Patch Changes
- fix: quickly adapt to camera changes
cesium-wind-layer@0.4.0
Minor Changes
-
feat: add useViewerBounds option and improve UI
- Add useViewerBounds option to control particle generation range
- Move layer visibility control to title bar
- Update default line width to 10.0
- Add base pixel size offset to prevent particles from being too small
- Update types and documentation
cesium-wind-layer@0.3.0
Minor Changes
- feat: Terrain occlusion support & add zoomTo method