Summary
Methods:
addMathCell |
添加模型 |
removeAll |
清空烟花特效model中的烟花要素 |
removeMathCellById |
根据id从烟花特效model中移除烟花要素 |
Constructor
new FireworksModel(options)
烟花模型构造函数
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
Object | 可选项
|
Example
let fireworksModel=new hmap.geosolution.math.FireworksModel({});
Methods
-
addMathCell(cell)
-
添加模型
Parameters:
Name Type Description cell
Fireworks -
removeAll()
-
清空烟花特效model中的烟花要素
Example
fireworksModel.removeAll()
-
removeMathCellById(id)
-
根据id从烟花特效model中移除烟花要素
Parameters:
Name Type Description id
String 烟花要素id
Example
fireworksModel.removeMathCellById(idStr);