Methods |
---|
Class: HeatmapLayer
WebGLModule.HeatmapLayer
Heatmap shader
data reference must contain one index to the data to render using heatmap strategy
expected parameters:
index - unique number in the compiled shader
supported parameters:
color - for more details, see @WebGLModule.UIControls color UI type
threshold - for more details, see @WebGLModule.UIControls number UI type
opacity - for more details, see @WebGLModule.UIControls color UI type
inverse - low values are high opacities instead of high values, 1 or 0, default 0
logScale - use logarithmic scale instead of linear, 1 or 0, default 0
logScaleMax - maximum value used in the scale (remember, data values range from 0 to 1), default 1.0
colors shader will read underlying data (red component) and output
to canvas defined color with opacity based on the data
(0.0 => transparent, 1.0 => opaque)
supports thresholding - outputs color on areas above certain value
mapping html input slider 0-100 to .0-1.0