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