HeatmapEffect
热力图,不支持重新设置选项。参数较多。
Name |
Type |
Description |
options |
Object
|
Name |
Type |
Default |
Description |
data |
Array.<Object>
|
|
散点对象数据,包括经度、纬度和表现值,经纬度使用十进制度的描述,比如117.12345 |
scene |
Scene
|
|
Scene |
lonField |
String
|
"lon"
|
optional
描述options.data数据结构中的经度字段名 |
latField |
String
|
"lat"
|
optional
描述options.data数据结构中的纬度字段名 |
valueField |
String
|
"value"
|
optional
描述options.data数据结构中的表现值字段名 |
radius |
Number
|
10
|
optional
热力计算半径,像素,和当前视口大小有关 |
minOpacity |
Number
|
0
|
optional
最小不透明度 |
maxOpacity |
Number
|
0.5
|
optional
最大不透明度 |
blur |
Number
|
0.75
|
optional
虚化半径 |
gradient |
Object
|
{}
|
optional
An object that represents the gradient.default:{ 0.25: "rgb(0,0,255)", 0.55: "rgb(0,255,0)", 0.85: "yellow", 1.0: "rgb(255,0,0)"} |
show |
Boolean
|
true
|
optional
是否显示 |
dynamic |
Boolean
|
false
|
optional
动态更新 |
scaling |
Number
|
100
|
optional
缩放因子,整数向上,热力表现为山峰,负数向下缩放,热力表现为山谷 |
height |
Number
|
100
|
optional
热力图地表高度 |
minValue |
Number
|
0
|
optional
表现值的最小值 |
maxValue |
Number
|
100
|
optional
表现值的最大值 |
|
Members
热力图显示使用的图片资源
异步计算生成图像
热力图的显示范围
Methods
Name |
Type |
Description |
frameState |
|
|
Need help? The fastest way to get answers is from the community and team on the
Cesium Forum.