Skip to content

LDGLHeatLayer (WebGL-based Heat Map) ​

High-performance heat map layer based on WebGL rendering.

Constructor ​

ts
new ge3d.object.LDGLHeatLayer(options: any): LDGLHeatLayer

Parameters ​

ParameterTypeDefaultDescription
idString/Number-Layer id identifier
nameString-Layer name
showBoolean-Whether layer is displayed
positionsArray-Coordinate position array
dataArray-Heat data
radiusNumber100Heat radius
gradientObject-Gradient color configuration

Properties ​

PropertyTypeDescription
idanyObject id identifier
showanyShow/hide state
positionsanyData position coordinate array

Methods ​

addPosition ​

Add new coordinate point

ts
addPosition(item: any): void

setOpacity ​

Set opacity

ts
setOpacity(value: any): void