@anov/gis 1.8.4 → 1.8.6
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/CHANGELOG.md +102 -82
- package/README.md +338 -337
- package/dist/index.js +1 -1
- package/package.json +88 -88
- package/scripts/release.js +322 -322
package/CHANGELOG.md
CHANGED
|
@@ -1,82 +1,102 @@
|
|
|
1
|
-
# 更新日志
|
|
2
|
-
|
|
3
|
-
本项目的所有重要变更都会记录在此文件中。
|
|
4
|
-
|
|
5
|
-
格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),
|
|
6
|
-
本项目遵循 [语义化版本](https://semver.org/lang/zh-CN/) 规范。
|
|
7
|
-
|
|
8
|
-
## [1.8.
|
|
9
|
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
1
|
+
# 更新日志
|
|
2
|
+
|
|
3
|
+
本项目的所有重要变更都会记录在此文件中。
|
|
4
|
+
|
|
5
|
+
格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),
|
|
6
|
+
本项目遵循 [语义化版本](https://semver.org/lang/zh-CN/) 规范。
|
|
7
|
+
|
|
8
|
+
## [1.8.6] - 2026-08-18
|
|
9
|
+
|
|
10
|
+
- s (`3614897`)
|
|
11
|
+
- feat: 天地图多 key 影像层 (MultiKeyTdtImageryProvider) (`160167f`)
|
|
12
|
+
|
|
13
|
+
[1.8.6]: https://172.16.222.31:8866/
|
|
14
|
+
|
|
15
|
+
## [1.8.5] - 2026-08-04
|
|
16
|
+
|
|
17
|
+
- Merge branch 'draw' into 'master' (`ca04c2f`)
|
|
18
|
+
- feat: 浮动 × 关闭按钮默认开启,不再需要显式配置 (`4484d58`)
|
|
19
|
+
- feat: 测量绘制支持会话级清理与地图浮动 × 关闭按钮(类百度地图) (`e0b1207`)
|
|
20
|
+
- docs: 示例 demo 版本号从 1.6.2/1.8.3 统一到 1.8.4 (`317ee4f`)
|
|
21
|
+
- docs: 更新示例工程仓库链接为 zhf121/anov-gis-demo-* (`7bd59e4`)
|
|
22
|
+
- Merge branch 'versionUpdate' into 'master' (`1226990`)
|
|
23
|
+
- feat: 优化悬浮岛标注样式,支持 LABEL_CONFIG 变量控制 (`3f94c12`)
|
|
24
|
+
- feat: 新增悬浮岛地理可视化效果 (dog2) (`a8b996b`)
|
|
25
|
+
|
|
26
|
+
[1.8.5]: https://172.16.222.31:8866/
|
|
27
|
+
|
|
28
|
+
## [1.8.4] - 2026-07-22
|
|
29
|
+
|
|
30
|
+
- daohangline (`c13c777`)
|
|
31
|
+
- s (`8a8b61b`)
|
|
32
|
+
- feat: 新增 DaoHangLine 导航线材质及示例 (`af029f9`)
|
|
33
|
+
- s (`182648d`)
|
|
34
|
+
- docs: 补充 1.8.2 / 1.8.3 的 CHANGELOG 条目 (`e23638c`)
|
|
35
|
+
- feat: 添加 npm run release 自动发版脚本 (`efc3916`)
|
|
36
|
+
|
|
37
|
+
[1.8.4]: https://172.16.222.31:8866/
|
|
38
|
+
|
|
39
|
+
## [1.8.2] - 2026-07-16
|
|
40
|
+
|
|
41
|
+
- fix: @anov/gis 1.8.2 UMD导出修复与Cesium 1.143兼容 (`258eb67`)
|
|
42
|
+
|
|
43
|
+
[1.8.2]: https://172.16.222.31:8866/
|
|
44
|
+
|
|
45
|
+
## [1.8.3] - 2026-07-17
|
|
46
|
+
|
|
47
|
+
- docs: 重新生成 README 并发布 1.8.3 (`4daf920`)
|
|
48
|
+
|
|
49
|
+
[1.8.3]: https://172.16.222.31:8866/
|
|
50
|
+
|
|
51
|
+
## [1.8.1] - 2026-07-16
|
|
52
|
+
|
|
53
|
+
### 重大变更
|
|
54
|
+
|
|
55
|
+
- **Cesium 主版本升级**:从 `1.95` 升级到 `1.143`,涉及多项破坏性 API 变更(`fromUrl` 异步化、`Model.fromGltf` 改为 `Model.fromGltfAsync`、`terrainProvider` 同步赋值改为 `scene.setTerrain()`、移除 `Cesium.defaultValue`、默认 WebGL2 + GLSL ES 3),SDK 源码、构建配置、所有示例及 GLSL 着色器均完成适配改造。
|
|
56
|
+
|
|
57
|
+
### 新增
|
|
58
|
+
|
|
59
|
+
- 暗色地图主题逻辑支持 Cesium 1.143 异步图层:`layerAdded` 触发时 `imageryProvider` 可能尚未就绪,改在 `readyEvent` 回调中再应用主题滤镜([src/base/controls/LayerControlUitl.js](src/base/controls/LayerControlUitl.js))。
|
|
60
|
+
- 优化 `examples/public/examples/html/graphics/divInfo.html` 信息框示例页面(结构与样式调整)。
|
|
61
|
+
|
|
62
|
+
### 变更
|
|
63
|
+
|
|
64
|
+
- 示例 `examples/public/examples/html/event/imagerylayerpopup.html` 影像底图切换为公开 `mars:hf` WMS 服务。
|
|
65
|
+
- 示例 `examples/public/examples/html/event/imagerylayerpopup_line.html` 与 `imagerylayerpopup_point.html` 影像底图切换为公开 `ahocevar` WMS 服务。
|
|
66
|
+
- 示例 `examples/public/examples/html/offlinemap/xyz.html` 完善 `Viewer` 构造参数(显式 `geocoderType`、启用 `preserveDrawingBuffer`、关闭 `showRenderLoopErrors` 等)。
|
|
67
|
+
- 示例 `examples/public/examples/html/material/PolylineLighting.html` 数据源由远程 geojson 切换为本地 `modelData/json/partchaoyangroad1.json`。
|
|
68
|
+
- 示例 `examples/src/demo/menus.js` 移除「自定义搜索_陕西」菜单项。
|
|
69
|
+
|
|
70
|
+
### 修复
|
|
71
|
+
|
|
72
|
+
- **API 适配(Cesium 1.143 异步 / 新 API)**:
|
|
73
|
+
- `Model.fromGltf` 替换为 `Model.fromGltfAsync`,并修正 `Promise` 未 `.then()` 就直接 `add` 到 `primitives` 的问题(涉及 `loadSnow`、`PostFog`、`rainSnowPlane`、`wall_drawCommand2_Test_1`、`analysis/test` 等示例)。
|
|
74
|
+
- `Tileset` 适配:`readyEvent` 替换为 `fromUrl` 异步模式,重构 `src/base/viewer/Viewer.js`、`src/graphic/Graphic.js`、`src/graphic/model/Tileset.js`。
|
|
75
|
+
- `CesiumTerrainProvider` 同步构造改为异步 `fromUrl`,重构 `src/layer/terrain/TerrainFactory.js` 及相关示例。
|
|
76
|
+
- `ArcGisMapServerImageryProvider` 改用 `fromUrl` 异步构造。
|
|
77
|
+
- `BaiduImageryProvider` 补充 `errorEvent` 等缺失的 getter 以适配 1.143。
|
|
78
|
+
- `src/graphic/primitive/ModelPrimitive.js` 重构适配 Cesium 1.143 模型基元逻辑。
|
|
79
|
+
- **着色器适配(Cesium 1.143 / WebGL2 / GLSL ES 3)**:
|
|
80
|
+
- `examples/html/performance/` 目录全部自定义 shader 与示例(`CustomPrimitive` / `BuildingsPipline` / `TreesPipline` / `WaterPipline` / `dileiPipline` / `wall_*` / `textureRectangle` 等)适配 GLSL ES 3。
|
|
81
|
+
- `examples/public/examples/html/effect/poststage.html` 后期处理 shader 适配 WebGL2。
|
|
82
|
+
- 天气特效 `FogShader` / `RainShader` / `SnowShader` 及 `Cloud.js` 适配 GLSL ES 3。
|
|
83
|
+
- `src/layer/imagery/ImageryThemeGL.js` 替换已移除的 `Cesium.defaultValue`,修复 GLSL 着色器编译失败导致的暗色系影像失效问题。
|
|
84
|
+
- `examples/public/examples/html/material/waterShadertoy.html` 着色器中的 `texture2D` 替换为 `texture`,`normalMap_0` 改为通过 `Cesium.buildModuleUrl` 加载 Cesium 内置资源。
|
|
85
|
+
- **其它功能修复**:
|
|
86
|
+
- 修复 `examples/public/examples/html/geojsonLayer/billboard.html` 移除多余 `heightReference` 贴地引用后,Cesium 1.143 升级导致地图移动时建筑漂移的问题。
|
|
87
|
+
- 移除 `Cesium.Cartesian3.fromDegrees` 和 `Cesium.Color.fromCssColorString` 多余的 `new` 关键字。
|
|
88
|
+
- 修复 `setBaseUrl` 的 `IS_PROD` 条件限制导致 Cesium 升级后非生产环境资源加载失败。
|
|
89
|
+
- 修复 Cesium 升级后 `examples/public/examples/html/offlinemap/xyz.html` 因缺少覆盖全球的底图导致地图空白。
|
|
90
|
+
- 修复 `examples/public/examples/html/offlinemap/terrain.html` 异步 `fromUrl` API 调用方式。
|
|
91
|
+
- **构建修复**:
|
|
92
|
+
- 修复 Node.js 22 下 OpenSSL 兼容性问题,`examples/package.json` 启动脚本添加 `--openssl-legacy-provider` 参数。
|
|
93
|
+
|
|
94
|
+
### 移除
|
|
95
|
+
|
|
96
|
+
无。
|
|
97
|
+
|
|
98
|
+
### 安全
|
|
99
|
+
|
|
100
|
+
无。
|
|
101
|
+
|
|
102
|
+
[1.8.1]: https://172.16.222.31:8866/
|