类 BigMap.HeatmapLayer
方法属性 | 方法名称和描述 |
---|---|
getBlur()
|
the blur size in pixels
|
the gradient colors
|
|
the opacity of the layer
|
|
the size of the radius in pixels
|
|
Z-index of the layer
|
|
hide()
|
设置热力图隐藏
|
setBlur(setBlur)
|
the blur size in pixels
|
setDataSet(data, max)
|
设置数据
|
setGradient(colors)
|
the gradient colors
|
setOpacity(opacity)
|
the opacity of the layer
|
setRadius(radius)
|
the size of the radius in pixels
|
setZIndex(zindex)
|
Z-index of the layer
|
show()
|
设置热力图显示
|
方法详情
{number}
getBlur()
the blur size in pixels
- Returns:
- {number}
{[string]}
getGradient()
the gradient colors
- Returns:
- {[string]}
{number}
getOpacity()
the opacity of the layer
- Returns:
- {number}
{number}
getRadius()
the size of the radius in pixels
- Returns:
- {number}
{number}
getZIndex()
Z-index of the layer
- Returns:
- {number}
hide()
设置热力图隐藏
setBlur(setBlur)
the blur size in pixels
- Parameters:
- {number} setBlur
setDataSet(data, max)
设置数据
- Parameters:
- {[json]} data
- 数据集合
- {number} max
- 最大值
setGradient(colors)
the gradient colors
- Parameters:
- {[string]} colors
setOpacity(opacity)
the opacity of the layer
- Parameters:
- {number} opacity
setRadius(radius)
the size of the radius in pixels
- Parameters:
- {number} radius
setZIndex(zindex)
Z-index of the layer
- Parameters:
- {number} zindex
show()
设置热力图显示