Appearance
LDGLHeatLayer (WebGL-based Heat Map)
High-performance heat map layer based on WebGL rendering.
Constructor
ts
new ge3d.object.LDGLHeatLayer(options: any): LDGLHeatLayerParameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| id | String/Number | - | Layer id identifier |
| name | String | - | Layer name |
| show | Boolean | - | Whether layer is displayed |
| positions | Array | - | Coordinate position array |
| data | Array | - | Heat data |
| radius | Number | 100 | Heat radius |
| gradient | Object | - | Gradient color configuration |
Properties
| Property | Type | Description |
|---|---|---|
| id | any | Object id identifier |
| show | any | Show/hide state |
| positions | any | Data position coordinate array |
Methods
addPosition
Add new coordinate point
ts
addPosition(item: any): voidsetOpacity
Set opacity
ts
setOpacity(value: any): void