# Class: GraphicHeatmap

## GraphicHeatmap()

#### new GraphicHeatmap()

Source:
  - GraphicHeatmap.js, line 14

### Methods

#### (async, static) createObj() → {Promise.<GraphicHeatmap>}

构造一个新的 GraphicHeatmap 对象。

Source:
  - GraphicHeatmap.js, line 35

##### Returns:

Type
  Promise.<GraphicHeatmap>

#### (async, static) getHeatmapPoints() → {Promise.<Array.<HeatmapPoint>>}

获取热力点。

Source:
  - GraphicHeatmap.js, line 69

##### Returns:

Type
  Promise.<Array.<HeatmapPoint>>

#### (async, static) getMaxAlpha() → {Promise.<Number>}

获取热力点最大透明度,默认值为100:全透明

Source:
  - GraphicHeatmap.js, line 227

##### Returns:

Type
  Promise.<Number>

#### (async, static) getMinAlpha() → {Promise.<Number>}

获取热力点最小透明度,默认值为0:不透明

Source:
  - GraphicHeatmap.js, line 190

##### Returns:

Type
  Promise.<Number>

#### (async, static) getPointSize() → {Promise.<Number>}

获取热力点大小

Source:
  - GraphicHeatmap.js, line 153

##### Returns:

Type
  Promise.<Number>

#### (async, static) getVisualMap() → {Promise.<VisualMap>}

获取视觉映射

Source:
  - GraphicHeatmap.js, line 114

##### Returns:

Type
  Promise.<VisualMap>

#### (async, static) setHeatmapPoints(pointArray) → {Promise.<GraphicHeatmap>}

设置热力点。

##### Parameters:

Name | Type | Description
--- | --- | ---
`pointArray` | Array.<HeatmapPoint> |

Source:
  - GraphicHeatmap.js, line 52

##### Returns:

Type
  Promise.<GraphicHeatmap>

#### (async, static) setMaxAlpha(maxAlpha) → {Promise.<void>}

设置热力点透明度的最大值,默认为100:全透明

##### Parameters:

Name | Type | Description
--- | --- | ---
`maxAlpha` | Number |

Source:
  - GraphicHeatmap.js, line 210

##### Returns:

Type
  Promise.<void>

#### (async, static) setMinAlpha(minAlpha) → {Promise.<void>}

设置热力点透明度的最小值,默认为0:不透明

##### Parameters:

Name | Type | Description
--- | --- | ---
`minAlpha` | Number |

Source:
  - GraphicHeatmap.js, line 173

##### Returns:

Type
  Promise.<void>

#### (async, static) setPointSize(size) → {Promise.<void>}

设置热力点大小

##### Parameters:

Name | Type | Description
--- | --- | ---
`size` | Number |

Source:
  - GraphicHeatmap.js, line 136

##### Returns:

Type
  Promise.<void>

#### (async, static) setVisualMap(visualMap) → {Promise.<void>}

设置视觉映射

##### Parameters:

Name | Type | Description
--- | --- | ---
`visualMap` | VisualMap |

Source:
  - GraphicHeatmap.js, line 97

##### Returns:

Type
  Promise.<void>