chbim-plugins 0.2.7 → 0.2.9

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 CHANGED
@@ -1,273 +1,273 @@
1
- <br />
2
-
3
- <p align="center">
4
- <a href="#">
5
- <img src="https://chbim.ccshcc.cn/baseResources//Logo/Logo.png" alt="Logo" height="60">
6
- </a>
7
- <h3 align="center">基于<font color="#4bbbef"> CHBIM云平台 </font>服务的插件</h3>
8
-
9
- </p>
10
-
11
- ## 使用指南
12
-
13
- 1. 此插件和 CHBIM 平台强绑定
14
- 2. node 版本>=16.14.2
15
-
16
- #### 安装
17
-
18
- ```sh
19
- npm i chbim-plugins
20
- ```
21
-
22
- #### 引入
23
-
24
- ```sh
25
- import "chbim-plugins/style.css";
26
- import { ChbimPlugins } from "chbim-plugins";
27
- ......
28
- ......
29
- ......
30
- app.use(ChbimPlugins);
31
- ```
32
-
33
- #### 使用
34
-
35
- 在需要使用的.vue 文件里面引入
36
-
37
- ```sh
38
- import {
39
- BimTerrainProvider, // 地形
40
- BimElevationImage, // 瓦片
41
- BimModel, // 模型
42
- BimVector, // 矢量
43
- BimEntity, // 注记
44
- PanoramicView, // 全景图
45
- ......
46
- } from "chbim-plugins";
47
- ```
48
-
49
- 添加模型为例:
50
-
51
- ```
52
- /* data 为模型树的扁平化json */
53
- window.bimModel = new BimModel(data);
54
-
55
- /* 给地图添加模型
56
- ** id => 模型id
57
- ** fn => 自定义注册事件
58
- */
59
- window.bimModel.add(id,fn).then((e) => {
60
- if (e.type == "error") {
61
- console.error('失败')
62
- }
63
- }).catch((e) => {
64
- console.error('失败')
65
- })
66
- ```
67
-
68
- ### API
69
-
70
- #### window.bimElevationImage `影像`
71
-
72
- ##### add( id || xyzParameter,isGisTkone,fn)添加影像
73
-
74
- | 类参数名 | 类型 | 默认参数 | 描述 |
75
- | ------------ | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
76
- | id | String | “ ” | 需要添加的影像 id |
77
- | xyzParameter | Object | { } | 三方影像数据 `{imageXyzId:影像id,url:影像路由,zIndex:影像层级,minimumLevel:服务支持的最小层级,maximumLevel:服务支持的最大层级,chinaCRS:标识瓦片的国内坐标系(用于自动纠偏或加偏)}` chinaCRS 默认 GCJ02 |
78
- | isGisTkone | Boolean | true | 是否开启 Tkone 验证,三方影像不需要开启验证 |
79
- | fn | Object | { } | 例如:绑定 click 事件 `{ click: (e) => { console.log(e) } }` |
80
-
81
- ##### remove( id )添加影像
82
-
83
- | 类参数名 | 类型 | 默认参数 | 描述 |
84
- | -------- | ------ | -------- | ----------------- |
85
- | id | String | “ ” | 需要移除的影像 id |
86
-
87
- ##### query( id )查询影像的数据
88
-
89
- | 类参数名 | 类型 | 默认参数 | 描述 |
90
- | -------- | ------ | -------- | ------------------------------- |
91
- | id | String | “ ” | 需要查询的模型 id,返回模型数据 |
92
-
93
- <br /><br />
94
-
95
- #### window.bimModel `模型`
96
-
97
- ##### add( id,fn,list )添加模型
98
-
99
- | 类参数名 | 类型 | 默认参数 | 描述 |
100
- | -------- | ------ | -------- | ------------------------------------------------------------ |
101
- | id | String | “ ” | 需要添加的模型 id |
102
- | fn | Object | { } | 例如:绑定 click 事件 `{ click: (e) => { console.log(e) } }` |
103
- | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
104
-
105
- ##### remove( id,list )移除模型
106
-
107
- | 类参数名 | 类型 | 默认参数 | 描述 |
108
- | -------- | ------ | -------- | ------------------------------------------- |
109
- | id | String | “ ” | 需要移除的模型 id |
110
- | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
111
-
112
- ##### selected( id )选中模型
113
-
114
- | 类参数名 | 类型 | 默认参数 | 描述 |
115
- | -------- | ------- | -------- | ------------------------------------------------------------ |
116
- | id | String | “ ” | 需要选中的模型 id |
117
- | fn | Object | { } | 例如:绑定 click 事件 `{ click: (e) => { console.log(e) } }` |
118
- | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
119
- | flyTo | Boolean | true | 默认会自动飞行,模型选中变红,设置`false`不会飞行 |
120
-
121
- ##### query( id )查询模型的数据
122
-
123
- | 类参数名 | 类型 | 默认参数 | 描述 |
124
- | -------- | ------ | -------- | ------------------------------- |
125
- | id | String | “ ” | 需要查询的模型 id,返回模型数据 |
126
-
127
- ##### queryModel( id )查询 map 上模型的实体
128
-
129
- | 类参数名 | 类型 | 默认参数 | 描述 |
130
- | -------- | ------ | -------- | ------------------------------- |
131
- | id | String | “ ” | 需要查询的模型 id,返回模型实体 |
132
-
133
- ##### editColor( id,newColor,list )模型染色
134
-
135
- | 类参数名 | 类型 | 默认参数 | 描述 |
136
- | -------- | ------ | -------- | ------------------------------------------- |
137
- | id | String | “ ” | 模型 id |
138
- | newColor | String | “ ” | css 颜色值 |
139
- | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
140
-
141
- ##### editOpacity( id,opacity)模型染色
142
-
143
- | 类参数名 | 类型 | 默认参数 | 描述 |
144
- | -------- | ------ | -------- | ------------ |
145
- | id | String | “ ” | 模型 id |
146
- | opacity | String | “ ” | 透明度值 0~1 |
147
-
148
- <br /><br />
149
-
150
- #### window.bimVector `矢量`
151
-
152
- ##### add( id,list )添加矢量
153
-
154
- | 类参数名 | 类型 | 默认参数 | 描述 |
155
- | -------- | ------ | -------- | ------------------------------------------- |
156
- | id | Object | “ ” | 需要添加的矢量 id |
157
- | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
158
-
159
- ##### remove( id,list )移除矢量
160
-
161
- | 类参数名 | 类型 | 默认参数 | 描述 |
162
- | -------- | ------ | -------- | ------------------------------------------- |
163
- | id | String | “ ” | 需要移除的矢量 id |
164
- | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
165
-
166
- ##### selected( id )添加矢量
167
-
168
- | 类参数名 | 类型 | 默认参数 | 描述 |
169
- | -------- | ------ | -------- | ------------------------------------------ |
170
- | id | Object | “ ” | 需要选中的矢量 id ,选中会飞行到选中的矢量 |
171
-
172
- ##### query( id )查询矢量数据
173
-
174
- | 类参数名 | 类型 | 默认参数 | 描述 |
175
- | -------- | ------ | -------- | -------------------------------- |
176
- | id | Object | “ ” | 需要选中的矢量 id ,返回矢量数据 |
177
-
178
- ##### queryVector( id )查询矢量实体
179
-
180
- | 类参数名 | 类型 | 默认参数 | 描述 |
181
- | -------- | ------ | -------- | -------------------------------- |
182
- | id | Object | “ ” | 需要选中的矢量 id ,返回矢量实体 |
183
-
184
- <br /><br />
185
-
186
- #### window.bimEntity `标绘`
187
-
188
- ##### add( id,entityId,list )添加标绘
189
-
190
- | 类参数名 | 类型 | 默认参数 | 描述 |
191
- | -------- | ------ | -------- | ----------------------------------------------- |
192
- | id | Object | “ ” | 需要添加的标绘 id |
193
- | entityId | String | null | 临时添加的标绘是不带 id 的,需要自定义的一个 id |
194
- | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
195
-
196
- ##### remove( id,list )移除标绘
197
-
198
- | 类参数名 | 类型 | 默认参数 | 描述 |
199
- | -------- | ------ | -------- | ------------------------------------------- |
200
- | id | String | “ ” | 需要移除的标绘 id |
201
- | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
202
-
203
- ##### query( id )查询标绘数据
204
-
205
- | 类参数名 | 类型 | 默认参数 | 描述 |
206
- | -------- | ------ | -------- | -------------------------------- |
207
- | id | Object | “ ” | 需要选中的矢量 id ,返回矢量数据 |
208
-
209
- ##### queryEntity( id )查询标绘实体
210
-
211
- | 类参数名 | 类型 | 默认参数 | 描述 |
212
- | -------- | ------ | -------- | -------------------------------- |
213
- | id | Object | “ ” | 需要选中的矢量 id ,返回矢量实体 |
214
-
215
- <br /><br />
216
-
217
- #### window.bimModify `环境修改`
218
-
219
- ##### evnModifyById( id,list )添加环境修改
220
-
221
- | 类参数名 | 类型 | 默认参数 | 描述 |
222
- | -------- | ------ | -------- | ------------------------------------------- |
223
- | id | Object | “ ” | 需要添加的环境修改的 id |
224
- | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
225
-
226
- ##### clearEvnModifyById( id,list )移除环境修改
227
-
228
- | 类参数名 | 类型 | 默认参数 | 描述 |
229
- | -------- | ------ | -------- | ------------------------------------------- |
230
- | id | String | “ ” | 需要移除的环境修改 id |
231
- | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
232
-
233
- ##### clearAllModelModify( list )移除所有对于模型的环境修改
234
-
235
- | 类参数名 | 类型 | 默认参数 | 描述 |
236
- | -------- | ------ | -------- | ------------------------------------------- |
237
- | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
238
-
239
- ##### clearAllTerrainModify( list )移除所有对于地形的环境修改
240
-
241
- | 类参数名 | 类型 | 默认参数 | 描述 |
242
- | -------- | ------ | -------- | ------------------------------------------- |
243
- | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
244
-
245
- ##### clearAllEvnModify()移除所有的环境修改
246
-
247
- <br /><br />
248
-
249
- #### window.Bimroaming `漫游`
250
-
251
- ##### init( viewPoints, savePoint, option )初始化漫游
252
-
253
- | 类参数名 | 类型 | 默认参数 | 描述 |
254
- | ---------- | -------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
255
- | viewPoints | Array | [] | 漫游路径的点集,每个点是一个对象{lng: 0, lat: 0, alt: 0} |
256
- | savePoint | Function | null | 新增点的回调函数 |
257
- | option | Object | { } | 漫游配置项 followedX:距离视角的距离, followedZ:距离视角垂直高度,smooth:平衡值使漫游转角顺滑, speed:飞行速度 ,Viewovalue:类型 (1:第一人称 2:跟随 3:俯视) |
258
-
259
- ##### startDrawGraphic()添加点
260
-
261
- ##### start()开始漫游
262
-
263
- ##### pause()暂停漫游
264
-
265
- ##### resume()继续漫游
266
-
267
- ##### stop()停止漫游
268
-
269
- ##### remove()移除漫游
270
-
271
- ### 版本控制
272
-
273
- 该项目使用 Git 进行版本管理。
1
+ <br />
2
+
3
+ <p align="center">
4
+ <a href="#">
5
+ <img src="https://chbim.ccshcc.cn/baseResources//Logo/Logo.png" alt="Logo" height="60">
6
+ </a>
7
+ <h3 align="center">基于<font color="#4bbbef"> CHBIM云平台 </font>服务的插件</h3>
8
+
9
+ </p>
10
+
11
+ ## 使用指南
12
+
13
+ 1. 此插件和 CHBIM 平台强绑定
14
+ 2. node 版本>=16.14.2
15
+
16
+ #### 安装
17
+
18
+ ```sh
19
+ npm i chbim-plugins
20
+ ```
21
+
22
+ #### 引入
23
+
24
+ ```sh
25
+ import "chbim-plugins/style.css";
26
+ import { ChbimPlugins } from "chbim-plugins";
27
+ ......
28
+ ......
29
+ ......
30
+ app.use(ChbimPlugins);
31
+ ```
32
+
33
+ #### 使用
34
+
35
+ 在需要使用的.vue 文件里面引入
36
+
37
+ ```sh
38
+ import {
39
+ BimTerrainProvider, // 地形
40
+ BimElevationImage, // 瓦片
41
+ BimModel, // 模型
42
+ BimVector, // 矢量
43
+ BimEntity, // 注记
44
+ PanoramicView, // 全景图
45
+ ......
46
+ } from "chbim-plugins";
47
+ ```
48
+
49
+ 添加模型为例:
50
+
51
+ ```
52
+ /* data 为模型树的扁平化json */
53
+ window.bimModel = new BimModel(data);
54
+
55
+ /* 给地图添加模型
56
+ ** id => 模型id
57
+ ** fn => 自定义注册事件
58
+ */
59
+ window.bimModel.add(id,fn).then((e) => {
60
+ if (e.type == "error") {
61
+ console.error('失败')
62
+ }
63
+ }).catch((e) => {
64
+ console.error('失败')
65
+ })
66
+ ```
67
+
68
+ ### API
69
+
70
+ #### window.bimElevationImage `影像`
71
+
72
+ ##### add( id || xyzParameter,isGisTkone,fn)添加影像
73
+
74
+ | 类参数名 | 类型 | 默认参数 | 描述 |
75
+ | ------------ | ------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
76
+ | id | String | “ ” | 需要添加的影像 id |
77
+ | xyzParameter | Object | { } | 三方影像数据 `{imageXyzId:影像id,url:影像路由,zIndex:影像层级,minimumLevel:服务支持的最小层级,maximumLevel:服务支持的最大层级,chinaCRS:标识瓦片的国内坐标系(用于自动纠偏或加偏)}` chinaCRS 默认 GCJ02 |
78
+ | isGisTkone | Boolean | true | 是否开启 Tkone 验证,三方影像不需要开启验证 |
79
+ | fn | Object | { } | 例如:绑定 click 事件 `{ click: (e) => { console.log(e) } }` |
80
+
81
+ ##### remove( id )添加影像
82
+
83
+ | 类参数名 | 类型 | 默认参数 | 描述 |
84
+ | -------- | ------ | -------- | ----------------- |
85
+ | id | String | “ ” | 需要移除的影像 id |
86
+
87
+ ##### query( id )查询影像的数据
88
+
89
+ | 类参数名 | 类型 | 默认参数 | 描述 |
90
+ | -------- | ------ | -------- | ------------------------------- |
91
+ | id | String | “ ” | 需要查询的模型 id,返回模型数据 |
92
+
93
+ <br /><br />
94
+
95
+ #### window.bimModel `模型`
96
+
97
+ ##### add( id,fn,list )添加模型
98
+
99
+ | 类参数名 | 类型 | 默认参数 | 描述 |
100
+ | -------- | ------ | -------- | ------------------------------------------------------------ |
101
+ | id | String | “ ” | 需要添加的模型 id |
102
+ | fn | Object | { } | 例如:绑定 click 事件 `{ click: (e) => { console.log(e) } }` |
103
+ | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
104
+
105
+ ##### remove( id,list )移除模型
106
+
107
+ | 类参数名 | 类型 | 默认参数 | 描述 |
108
+ | -------- | ------ | -------- | ------------------------------------------- |
109
+ | id | String | “ ” | 需要移除的模型 id |
110
+ | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
111
+
112
+ ##### selected( id )选中模型
113
+
114
+ | 类参数名 | 类型 | 默认参数 | 描述 |
115
+ | -------- | ------- | -------- | ------------------------------------------------------------ |
116
+ | id | String | “ ” | 需要选中的模型 id |
117
+ | fn | Object | { } | 例如:绑定 click 事件 `{ click: (e) => { console.log(e) } }` |
118
+ | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
119
+ | flyTo | Boolean | true | 默认会自动飞行,模型选中变红,设置`false`不会飞行 |
120
+
121
+ ##### query( id )查询模型的数据
122
+
123
+ | 类参数名 | 类型 | 默认参数 | 描述 |
124
+ | -------- | ------ | -------- | ------------------------------- |
125
+ | id | String | “ ” | 需要查询的模型 id,返回模型数据 |
126
+
127
+ ##### queryModel( id )查询 map 上模型的实体
128
+
129
+ | 类参数名 | 类型 | 默认参数 | 描述 |
130
+ | -------- | ------ | -------- | ------------------------------- |
131
+ | id | String | “ ” | 需要查询的模型 id,返回模型实体 |
132
+
133
+ ##### editColor( id,newColor,list )模型染色
134
+
135
+ | 类参数名 | 类型 | 默认参数 | 描述 |
136
+ | -------- | ------ | -------- | ------------------------------------------- |
137
+ | id | String | “ ” | 模型 id |
138
+ | newColor | String | “ ” | css 颜色值 |
139
+ | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
140
+
141
+ ##### editOpacity( id,opacity)模型染色
142
+
143
+ | 类参数名 | 类型 | 默认参数 | 描述 |
144
+ | -------- | ------ | -------- | ------------ |
145
+ | id | String | “ ” | 模型 id |
146
+ | opacity | String | “ ” | 透明度值 0~1 |
147
+
148
+ <br /><br />
149
+
150
+ #### window.bimVector `矢量`
151
+
152
+ ##### add( id,list )添加矢量
153
+
154
+ | 类参数名 | 类型 | 默认参数 | 描述 |
155
+ | -------- | ------ | -------- | ------------------------------------------- |
156
+ | id | Object | “ ” | 需要添加的矢量 id |
157
+ | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
158
+
159
+ ##### remove( id,list )移除矢量
160
+
161
+ | 类参数名 | 类型 | 默认参数 | 描述 |
162
+ | -------- | ------ | -------- | ------------------------------------------- |
163
+ | id | String | “ ” | 需要移除的矢量 id |
164
+ | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
165
+
166
+ ##### selected( id )添加矢量
167
+
168
+ | 类参数名 | 类型 | 默认参数 | 描述 |
169
+ | -------- | ------ | -------- | ------------------------------------------ |
170
+ | id | Object | “ ” | 需要选中的矢量 id ,选中会飞行到选中的矢量 |
171
+
172
+ ##### query( id )查询矢量数据
173
+
174
+ | 类参数名 | 类型 | 默认参数 | 描述 |
175
+ | -------- | ------ | -------- | -------------------------------- |
176
+ | id | Object | “ ” | 需要选中的矢量 id ,返回矢量数据 |
177
+
178
+ ##### queryVector( id )查询矢量实体
179
+
180
+ | 类参数名 | 类型 | 默认参数 | 描述 |
181
+ | -------- | ------ | -------- | -------------------------------- |
182
+ | id | Object | “ ” | 需要选中的矢量 id ,返回矢量实体 |
183
+
184
+ <br /><br />
185
+
186
+ #### window.bimEntity `标绘`
187
+
188
+ ##### add( id,entityId,list )添加标绘
189
+
190
+ | 类参数名 | 类型 | 默认参数 | 描述 |
191
+ | -------- | ------ | -------- | ----------------------------------------------- |
192
+ | id | Object | “ ” | 需要添加的标绘 id |
193
+ | entityId | String | null | 临时添加的标绘是不带 id 的,需要自定义的一个 id |
194
+ | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
195
+
196
+ ##### remove( id,list )移除标绘
197
+
198
+ | 类参数名 | 类型 | 默认参数 | 描述 |
199
+ | -------- | ------ | -------- | ------------------------------------------- |
200
+ | id | String | “ ” | 需要移除的标绘 id |
201
+ | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
202
+
203
+ ##### query( id )查询标绘数据
204
+
205
+ | 类参数名 | 类型 | 默认参数 | 描述 |
206
+ | -------- | ------ | -------- | -------------------------------- |
207
+ | id | Object | “ ” | 需要选中的矢量 id ,返回矢量数据 |
208
+
209
+ ##### queryEntity( id )查询标绘实体
210
+
211
+ | 类参数名 | 类型 | 默认参数 | 描述 |
212
+ | -------- | ------ | -------- | -------------------------------- |
213
+ | id | Object | “ ” | 需要选中的矢量 id ,返回矢量实体 |
214
+
215
+ <br /><br />
216
+
217
+ #### window.bimModify `环境修改`
218
+
219
+ ##### evnModifyById( id,list )添加环境修改
220
+
221
+ | 类参数名 | 类型 | 默认参数 | 描述 |
222
+ | -------- | ------ | -------- | ------------------------------------------- |
223
+ | id | Object | “ ” | 需要添加的环境修改的 id |
224
+ | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
225
+
226
+ ##### clearEvnModifyById( id,list )移除环境修改
227
+
228
+ | 类参数名 | 类型 | 默认参数 | 描述 |
229
+ | -------- | ------ | -------- | ------------------------------------------- |
230
+ | id | String | “ ” | 需要移除的环境修改 id |
231
+ | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
232
+
233
+ ##### clearAllModelModify( list )移除所有对于模型的环境修改
234
+
235
+ | 类参数名 | 类型 | 默认参数 | 描述 |
236
+ | -------- | ------ | -------- | ------------------------------------------- |
237
+ | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
238
+
239
+ ##### clearAllTerrainModify( list )移除所有对于地形的环境修改
240
+
241
+ | 类参数名 | 类型 | 默认参数 | 描述 |
242
+ | -------- | ------ | -------- | ------------------------------------------- |
243
+ | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
244
+
245
+ ##### clearAllEvnModify()移除所有的环境修改
246
+
247
+ <br /><br />
248
+
249
+ #### window.Bimroaming `漫游`
250
+
251
+ ##### init( viewPoints, savePoint, option )初始化漫游
252
+
253
+ | 类参数名 | 类型 | 默认参数 | 描述 |
254
+ | ---------- | -------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
255
+ | viewPoints | Array | [] | 漫游路径的点集,每个点是一个对象{lng: 0, lat: 0, alt: 0} |
256
+ | savePoint | Function | null | 新增点的回调函数 |
257
+ | option | Object | { } | 漫游配置项 followedX:距离视角的距离, followedZ:距离视角垂直高度,smooth:平衡值使漫游转角顺滑, speed:飞行速度 ,Viewovalue:类型 (1:第一人称 2:跟随 3:俯视) |
258
+
259
+ ##### startDrawGraphic()添加点
260
+
261
+ ##### start()开始漫游
262
+
263
+ ##### pause()暂停漫游
264
+
265
+ ##### resume()继续漫游
266
+
267
+ ##### stop()停止漫游
268
+
269
+ ##### remove()移除漫游
270
+
271
+ ### 版本控制
272
+
273
+ 该项目使用 Git 进行版本管理。
package/chbim-plugins.js CHANGED
@@ -19624,7 +19624,7 @@ class _1 {
19624
19624
  let { id: X, bimModelExcavationDetails: J, bimModel: Z } = N;
19625
19625
  v = X, S = Z ? Z.modelType : N.modelType, b = Z ? Z.tender : N.tender, O = Z ? Z.releasedDistance : N.releasedDistance, k = Z ? Z.modelName : N.modelName, R = Z ? Z.isDynamicReleased : N.isDynamicReleased, F = {
19626
19626
  bimModelExcavationDetails: J
19627
- }, E = N.url, P = Z ? Z.modelColor : N.modelColor, w.maxCanvasSize = Z ? Z.gridResolution : N.gridResolution || 4080;
19627
+ }, E = N.url, P = Z ? Z.modelColor : N.modelColor, w.maxCanvasSize = Z ? Z.gridResolution || 4080 : N.gridResolution || 4080;
19628
19628
  } else
19629
19629
  v = a.modelId, S = a.modelType, b = a.tender, O = a.releasedDistance, k = a.modelTitle, R = a.permission, F = a.customize, E = a.url, P = a.color, w.maxCanvasSize = a.maxCanvasSize || 4080;
19630
19630
  let I = 2147483648, C = 16;
@@ -27742,7 +27742,7 @@ class E1 {
27742
27742
  window.mars3d && (this.panoramicViewClass = o, this.coordinate = [
27743
27743
  {
27744
27744
  heading: 0,
27745
- pitch: 0,
27745
+ pitch: -90,
27746
27746
  stop: 5
27747
27747
  },
27748
27748
  {
@@ -27767,7 +27767,7 @@ class E1 {
27767
27767
  },
27768
27768
  {
27769
27769
  heading: 0,
27770
- pitch: -90,
27770
+ pitch: 0,
27771
27771
  stop: 5
27772
27772
  }
27773
27773
  ], this.screenshotArray = [], this.events = {}, this.timestamp = 0, this.lat, this.lng, this.alt);