@metagl/sdk-render 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -14
- package/README_EN.md +28 -3
- package/amd/lacdt.render.amd.js +56 -46
- package/cjs/lacdt.render.cjs.js +73 -46
- package/cjs/lacdt.render.d.ts +643 -141
- package/esm/lacdt.render.d.ts +643 -141
- package/esm/lacdt.render.js +54 -47
- package/lacdt.render.d.ts +643 -141
- package/lacdt.render.js +73 -46
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -166,22 +166,47 @@ SDK渲染引擎采用模块化架构,包含以下系统:
|
|
|
166
166
|
- **测量系统**:用于在三维场景中进行各种测量操作
|
|
167
167
|
- **3DTiles搜索系统**:处理3D Tiles模型搜索和信息展示
|
|
168
168
|
|
|
169
|
-
##
|
|
169
|
+
## Changelog
|
|
170
|
+
|
|
171
|
+
### V1.0.5 (2026-03-24)
|
|
172
|
+
|
|
173
|
+
#### Viewshed Analysis Feature Optimization
|
|
174
|
+
- **Picking Interaction Optimization**
|
|
175
|
+
- Fixed issue where first point was displayed prematurely in picking mode
|
|
176
|
+
- No visualization elements shown before picking starts, only created after clicking on map
|
|
177
|
+
- Added detailed debug logs for diagnosing picking issues
|
|
178
|
+
- Mouse move no longer sets picking position prematurely, waiting for first click
|
|
179
|
+
|
|
180
|
+
- **Viewshed Panel Style Optimization**
|
|
181
|
+
- Viewshed panel centered horizontally (left: 50% + transform: translateX(-50%))
|
|
182
|
+
- Maintains vertical position at top (top: 18px)
|
|
183
|
+
|
|
184
|
+
- **Multi-Viewshed Analysis System (ViewshedAnalysisSystem)**
|
|
185
|
+
- Supports LACDT.Obj.ViewshedAnalysis multi-frustum mode
|
|
186
|
+
- Implemented startPicking/stopPicking methods
|
|
187
|
+
- Added picking visualization Entity (green start point, yellow end point, arrow line)
|
|
188
|
+
- Real-time update of arrow line and frustum direction during mouse move
|
|
189
|
+
- Added right-click to cancel picking
|
|
190
|
+
- Hide ViewshedAnalysis during picking, show again after completion
|
|
191
|
+
|
|
192
|
+
#### Bug Fixes
|
|
193
|
+
- Fixed ShadowMap creation missing context parameter issue
|
|
194
|
+
- Fixed MouseEventSource missing animationFrameScheduler import (RxJS scheduler bug)
|
|
170
195
|
|
|
171
196
|
### V1.0.4 (2026-03-23)
|
|
172
|
-
- **CustomPrimitive Cesium 1.132+
|
|
173
|
-
-
|
|
174
|
-
-
|
|
175
|
-
-
|
|
176
|
-
-
|
|
177
|
-
|
|
178
|
-
-
|
|
179
|
-
-
|
|
180
|
-
-
|
|
181
|
-
-
|
|
182
|
-
-
|
|
183
|
-
|
|
184
|
-
##
|
|
197
|
+
- **CustomPrimitive Cesium 1.132+ Compatibility Fix**
|
|
198
|
+
- Root cause: `VertexArray.fromGeometry` no longer supports object literals for default geometry attributes
|
|
199
|
+
- Solution: Use actual `Cesium.GeometryAttribute` instances with proper `values` arrays
|
|
200
|
+
- Modified `createVertexArray` function in `CustomPrimitive.js`
|
|
201
|
+
- Changed `normalAttribute`, `colorAttribute`, `textureCoordinate` to use `new Cesium.GeometryAttribute(...)` instead of object literals
|
|
202
|
+
|
|
203
|
+
- **Air Quality Monitoring Panel Tech Style Update**
|
|
204
|
+
- Deep blue gradient background with glowing border effects
|
|
205
|
+
- Animated scan line and corner decorations
|
|
206
|
+
- Large glowing data values with status indicators
|
|
207
|
+
- Improved typography and layout
|
|
208
|
+
|
|
209
|
+
## Contact Information
|
|
185
210
|
|
|
186
211
|
- **官方文档**:https://sdk.geovisearth.com/
|
|
187
212
|
- **邮箱支持**:sunyc@geovis.com.cn
|
package/README_EN.md
CHANGED
|
@@ -166,14 +166,39 @@ The SDK rendering engine adopts a modular architecture, including the following
|
|
|
166
166
|
- **Measurement System**: Performs various measurement operations in 3D scenes
|
|
167
167
|
- **3DTiles Search System**: Handles 3D Tiles model search and information display
|
|
168
168
|
|
|
169
|
-
## Changelog
|
|
170
|
-
- Release Date: 2026-03-
|
|
169
|
+
## Changelog
|
|
170
|
+
- Release Date: 2026-03-24
|
|
171
|
+
|
|
172
|
+
### V1.0.5 (2026-03-24)
|
|
173
|
+
|
|
174
|
+
#### Viewshed Analysis Feature Optimization
|
|
175
|
+
- **Picking Interaction Optimization**
|
|
176
|
+
- Fixed issue where first point was displayed prematurely in picking mode
|
|
177
|
+
- No visualization elements shown before picking starts, only created after clicking on map
|
|
178
|
+
- Added detailed debug logs for diagnosing picking issues
|
|
179
|
+
- Mouse move no longer sets picking position prematurely, waiting for first click
|
|
180
|
+
|
|
181
|
+
- **Viewshed Panel Style Optimization**
|
|
182
|
+
- Viewshed panel centered horizontally (left: 50% + transform: translateX(-50%))
|
|
183
|
+
- Maintains vertical position at top (top: 18px)
|
|
184
|
+
|
|
185
|
+
- **Multi-Viewshed Analysis System (ViewshedAnalysisSystem)**
|
|
186
|
+
- Supports LACDT.Obj.ViewshedAnalysis multi-frustum mode
|
|
187
|
+
- Implemented startPicking/stopPicking methods
|
|
188
|
+
- Added picking visualization Entity (green start point, yellow end point, arrow line)
|
|
189
|
+
- Real-time update of arrow line and frustum direction during mouse move
|
|
190
|
+
- Added right-click to cancel picking
|
|
191
|
+
- Hide ViewshedAnalysis during picking, show again after completion
|
|
192
|
+
|
|
193
|
+
#### Bug Fixes
|
|
194
|
+
- Fixed ShadowMap creation missing context parameter issue
|
|
195
|
+
- Fixed MouseEventSource missing animationFrameScheduler import (RxJS scheduler bug)
|
|
171
196
|
|
|
172
197
|
### V1.0.4 (2026-03-23)
|
|
173
198
|
- Fixed CustomPrimitive rendering issue with Cesium 1.132+
|
|
174
199
|
- Root cause: `VertexArray.fromGeometry` no longer supports object literals for default geometry attributes
|
|
175
200
|
- Solution: Use actual `Cesium.GeometryAttribute` instances with proper `values` arrays
|
|
176
|
-
- Modified `createVertexArray` function in `
|
|
201
|
+
- Modified `createVertexArray` function in `CustomPrimitive.js`
|
|
177
202
|
- Changed `normalAttribute`, `colorAttribute`, `textureCoordinate` to use `new Cesium.GeometryAttribute(...)` instead of object literals
|
|
178
203
|
- Updated air quality monitoring panel with modern tech-style design
|
|
179
204
|
- Deep blue gradient background with glowing border effects
|