new ContinuousLeaks(viewer)
app/business/ContinuousLeaks.js, line 72
Name | Type | Description |
---|---|---|
viewer |
Viewer |
视图 |
Classes
Methods
-
add(position, options)
app/business/ContinuousLeaks.js, line 110 -
Name Type Description position
module:base~Position 泄漏位置
options
* 渲染参数
Name Type Description xfxrbjl
Number 下风向燃爆局李
hfxrbzyjldyx
Number 下风向燃爆最远距离
hfxrbjl
Number 下风向燃爆距离
xfxzdjl
Number 下风向中毒距离
hfxzdzyjldyx
Number 横风向中毒最远距离
hfxzdjl
Number 横风向中毒距离
angle
Number 角度
type
String 泄露类型 可选"psAndCb"|"ps"|"cb" 燃爆与中毒、中毒、燃爆
style
* 参考Polygon的样式
Name Type Description psStyle
* 中毒样式
cbStyle
* 燃爆样式
psLineStyle
* 中毒辅助线样式
psLabelStyle
* 中毒辅助线文字样式
cbLineStyle
* 燃爆辅助线样式
cbLabelStyle
* 燃爆辅助线文字样式
-
clear()
app/business/ContinuousLeaks.js, line 167 -
清除,清除后可继续添加
-
remove()
app/business/ContinuousLeaks.js, line 157 -
清除,清除后不可继续添加