geosolution/math~ProfileAnalysisModel()

Summary

Methods:
addMathCell

添加剖面分析要素

removeAll

清空剖面分析model中的剖面分析要素

removeMathCellById

根据id从剖面分析模型中移除要素

updateDrawData

更新绘制数据,发生删除、修改、或添加操作时调用该方法后才会发生绘制数据更改
注:每次全量刷新

Constructor

new ProfileAnalysisModel()

剖面分析模型构造函数

Example
let profileAnalysisModel=new hmap.geosolution.math.ProfileAnalysisModel();

Methods

addMathCell(profileAnalysis)

添加剖面分析要素

Parameters:
Name Type Description
profileAnalysis module:geosolution/cell~ProfileAnalysis

剖面分析要素

Example
profileAnalysisModel.addMathCell(profileAnalysis);

removeAll()

清空剖面分析model中的剖面分析要素

Example
profileAnalysisModel.removeAll()

removeMathCellById(id)

根据id从剖面分析模型中移除要素

Parameters:
Name Type Description
id String

剖面分析要素id

Example
profileAnalysisModel.removeMathCellById(idStr);

updateDrawData()

更新绘制数据,发生删除、修改、或添加操作时调用该方法后才会发生绘制数据更改
注:每次全量刷新