Appearance
线性、路径热力图
添加线性、路径热力图示例
js
const params = {
data: [
{
attributeList: [{ type: "路径热力图type" }],
displayModel: true,
elementData: {
_blendValue: 128,
_dWidth: 1,
_flyToModel: true,
_heatMapValueRange: { x: 1, y: 100 },
_isNewAdd: true,
_lock: true,
_logState: true,
_modelType: 0,
_pColorLevels: [
{ w: 1, x: 0, y: 255, z: 0 },
{ w: 1, x: 0, y: 255, z: 255 },
{ w: 1, x: 255, y: 0, z: 0 },
],
_points: [
{
w: 1,
x: 116.40229045458494,
y: 39.9094914933332,
z: 0.21468749176710844,
},
{ w: 50, x: 116.40277529839895, y: 39.91026519723265, z: 5 },
{ w: 100, x: 116.40234221091661, y: 39.91097423841769, z: 5 },
],
},
name: " 线性/路径热力图1770272741011",
tagList: ["路径热力图"],
},
],
};
cloudObj.RtAPI("addHeatMapsPath", params, (res) => {});1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
效果图

