Class: GraphicHeatmap

GraphicHeatmap()

new GraphicHeatmap()

Source:

Methods

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

构造一个新的 GraphicHeatmap 对象。
Source:
Returns:
Type
Promise.<GraphicHeatmap>

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

获取热力点。
Source:
Returns:
Type
Promise.<Array.<HeatmapPoint>>

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

获取热力点最大透明度,默认值为100:全透明
Source:
Returns:
Type
Promise.<Number>

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

获取热力点最小透明度,默认值为0:不透明
Source:
Returns:
Type
Promise.<Number>

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

获取热力点大小
Source:
Returns:
Type
Promise.<Number>

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

获取视觉映射
Source:
Returns:
Type
Promise.<VisualMap>

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

设置热力点。
Parameters:
Name Type Description
pointArray Array.<HeatmapPoint>
Source:
Returns:
Type
Promise.<GraphicHeatmap>

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

设置热力点透明度的最大值,默认为100:全透明
Parameters:
Name Type Description
maxAlpha Number
Source:
Returns:
Type
Promise.<void>

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

设置热力点透明度的最小值,默认为0:不透明
Parameters:
Name Type Description
minAlpha Number
Source:
Returns:
Type
Promise.<void>

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

设置热力点大小
Parameters:
Name Type Description
size Number
Source:
Returns:
Type
Promise.<void>

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

设置视觉映射
Parameters:
Name Type Description
visualMap VisualMap
Source:
Returns:
Type
Promise.<void>