Summary
Methods:
| addMathCell |
添加网格热力图 |
| removeAll |
清空网格热力图model中的网格热力图要素 |
| removeMathCellById |
根据id从网格热力图model中移除网格热力图要素 |
| setDimension |
设置热力图模型维度 |
Constructor
new GridHeatModel(options)
构造函数
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | 选填项
|
Methods
-
addMathCell(gridHeat)
-
添加网格热力图
Parameters:
Name Type Description gridHeatmodule:geosolution/cell~GridHeat 网格热力图要素
Example
gridHeatModel.addMathCell(gridHeat); -
removeAll()
-
清空网格热力图model中的网格热力图要素
Example
gridHeatModel.removeAll() -
removeMathCellById(id)
-
根据id从网格热力图model中移除网格热力图要素
Parameters:
Name Type Description idString 网格热力图要素id
Example
gridHeatModel.removeMathCellById(idStr); -
setDimension(dimension)
-
设置热力图模型维度
Parameters:
Name Type Default Description dimensionNumber 2 热力图模型维度,取值为2或者3,默认为2