@metagl/sdk-render 1.0.3 → 1.0.4
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 +15 -0
- package/README_EN.md +15 -0
- package/amd/lacdt.render.amd.js +64 -45
- package/cjs/lacdt.render.cjs.js +46 -44
- package/cjs/lacdt.render.d.ts +367 -260
- package/esm/lacdt.render.d.ts +367 -260
- package/esm/lacdt.render.js +47 -45
- package/lacdt.render.d.ts +367 -260
- package/lacdt.render.js +46 -44
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -166,6 +166,21 @@ SDK渲染引擎采用模块化架构,包含以下系统:
|
|
|
166
166
|
- **测量系统**:用于在三维场景中进行各种测量操作
|
|
167
167
|
- **3DTiles搜索系统**:处理3D Tiles模型搜索和信息展示
|
|
168
168
|
|
|
169
|
+
## 更新日志:
|
|
170
|
+
|
|
171
|
+
### V1.0.4 (2026-03-23)
|
|
172
|
+
- **CustomPrimitive Cesium 1.132+ 兼容性修复**
|
|
173
|
+
- 问题原因:`VertexArray.fromGeometry` 不再支持对象字面量作为默认几何属性
|
|
174
|
+
- 解决方案:使用实际的 `Cesium.GeometryAttribute` 实例和正确的 `values` 数组
|
|
175
|
+
- 修改文件:`XbsjCustomPrimitive.js` 中的 `createVertexArray` 函数
|
|
176
|
+
- 将 `normalAttribute`、`colorAttribute`、`textureCoordinate` 改为使用 `new Cesium.GeometryAttribute(...)`
|
|
177
|
+
|
|
178
|
+
- **空气质量监测面板科技风格更新**
|
|
179
|
+
- 深蓝色渐变背景配发光边框效果
|
|
180
|
+
- 动态扫描线和角落装饰
|
|
181
|
+
- 大号发光数值配状态指示器
|
|
182
|
+
- 改进的排版布局
|
|
183
|
+
|
|
169
184
|
## 联系方式
|
|
170
185
|
|
|
171
186
|
- **官方文档**:https://sdk.geovisearth.com/
|
package/README_EN.md
CHANGED
|
@@ -166,6 +166,21 @@ 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-23
|
|
171
|
+
|
|
172
|
+
### V1.0.4 (2026-03-23)
|
|
173
|
+
- Fixed CustomPrimitive rendering issue with Cesium 1.132+
|
|
174
|
+
- Root cause: `VertexArray.fromGeometry` no longer supports object literals for default geometry attributes
|
|
175
|
+
- Solution: Use actual `Cesium.GeometryAttribute` instances with proper `values` arrays
|
|
176
|
+
- Modified `createVertexArray` function in `XbsjCustomPrimitive.js`
|
|
177
|
+
- Changed `normalAttribute`, `colorAttribute`, `textureCoordinate` to use `new Cesium.GeometryAttribute(...)` instead of object literals
|
|
178
|
+
- Updated air quality monitoring panel with modern tech-style design
|
|
179
|
+
- Deep blue gradient background with glowing border effects
|
|
180
|
+
- Animated scan line and corner decorations
|
|
181
|
+
- Large glowing data values with status indicators
|
|
182
|
+
- Improved typography and layout
|
|
183
|
+
|
|
169
184
|
## Contact Information
|
|
170
185
|
|
|
171
186
|
- **Official Documentation**: https://sdk.geovisearth.com/
|