Skip to content

添加点云热力图

js
CloudApi.SuperAPI("AddHeatGraphics3D",params);

功能描述

添加点云热力图

参数

js
const params = {
    "Id": "00001",
    "CoordType": 1,
    "HeatColor": [
      {
        "Level": "1",
        "Color": "00FFFF"
      },
      {
        "Level": "2",
        "Color": "00FF00"
      },
      {
        "Level": "3",
        "Color": "FFFF00"
      },
      {
        "Level": "4",
        "Color": "FFBC00"
      },
      {
        "Level": "5",
        "Color": "FF0000"
      }
    ],
    "Points": [
      {
        "Coord": "-306730.0,315700.0",
        "Height": 22.20,
        "Value": 1
      },
      {
        "Coord": "-307430.0,316810.0",
        "Height": 16.50,
        "Value": 2
      },
      {
        "Coord": "-306630.0,318750.0",
        "Height": 12.30,
        "Value": 3
      },
      {
        "Coord": "-308180.0,319130.0",
        "Height": 10.80,
        "Value": 4
      },
      {
        "Coord": "-308670.0,317420.0",
        "Height": 10.80,
        "Value": 5
      },
      {
        "Coord": "-307660.0,316380.0",
        "Height": 5.0,
        "Value": 5
      },
      {
        "Coord": "-306480.0,314390.0",
        "Height": 7.60,
        "Value": 5
      },
      {
        "Coord": "-308540.0,315470.0",
        "Height": 9.40,
        "Value": 5
      },
      {
        "Coord": "-309160.0,310280.0",
        "Height": 6.60,
        "Value": 5
      },
      {
        "Coord": "-307530.0,316570.0",
        "Height": 7.30,
        "Value": 5
      },
      {
        "Coord": "-305300.0,316100.0",
        "Height": 24.10,
        "Value": 5
      },
      {
        "Coord": "-303780.0,314380.0",
        "Height": 9.20,
        "Value": 5
      },
      {
        "Coord": "-306750.0,317670.0",
        "Height": 14.20,
        "Value": 5
      },
      {
        "Coord": "-307170.0,311850.0",
        "Height": 0,
        "Value": 5
      },
      {
        "Coord": "-309410.0,312690.0",
        "Height": 5.90,
        "Value": 5
      },
      {
        "Coord": "-306810.0,315260.0",
        "Height": 10.70,
        "Value": 5
      },
      {
        "Coord": "-309260.0,316930.0",
        "Height": 23.10,
        "Value": 5
      },
      {
        "Coord": "-309560.0,315430.0",
        "Height": 8.30,
        "Value": 5
      },
      {
        "Coord": "-308180.0,319130.0",
        "Height": 2.40,
        "Value": 5
      },
      {
        "Coord": "-307550.0,316150.0",
        "Height": 23.60,
        "Value": 5
      }
    ]
}