chbim-plugins 0.0.107 → 0.0.109

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
@@ -169,13 +169,13 @@ window.bimModel.add(id,fn).then((e) => {
169
169
  | -------- | ------ | -------- | ------------------------------------------ |
170
170
  | id | Object | “ ” | 需要选中的矢量 id ,选中会飞行到选中的矢量 |
171
171
 
172
- ##### query( id )添加矢量
172
+ ##### query( id )查询矢量数据
173
173
 
174
174
  | 类参数名 | 类型 | 默认参数 | 描述 |
175
175
  | -------- | ------ | -------- | -------------------------------- |
176
176
  | id | Object | “ ” | 需要选中的矢量 id ,返回矢量数据 |
177
177
 
178
- ##### queryVector( id )添加矢量
178
+ ##### queryVector( id )查询矢量实体
179
179
 
180
180
  | 类参数名 | 类型 | 默认参数 | 描述 |
181
181
  | -------- | ------ | -------- | -------------------------------- |
@@ -200,18 +200,74 @@ window.bimModel.add(id,fn).then((e) => {
200
200
  | id | String | “ ” | 需要移除的标绘 id |
201
201
  | list | Object | { } | 字段目前用于处理分屏数据 `{ isClone:true }` |
202
202
 
203
- ##### query( id )添加标绘
203
+ ##### query( id )查询标绘数据
204
204
 
205
205
  | 类参数名 | 类型 | 默认参数 | 描述 |
206
206
  | -------- | ------ | -------- | -------------------------------- |
207
207
  | id | Object | “ ” | 需要选中的矢量 id ,返回矢量数据 |
208
208
 
209
- ##### queryEntity( id )添加标绘
209
+ ##### queryEntity( id )查询标绘实体
210
210
 
211
211
  | 类参数名 | 类型 | 默认参数 | 描述 |
212
212
  | -------- | ------ | -------- | -------------------------------- |
213
213
  | id | Object | “ ” | 需要选中的矢量 id ,返回矢量实体 |
214
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
+
215
271
  ### 版本控制
216
272
 
217
273
  该项目使用 Git 进行版本管理。