Skip to content

添加路径

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

功能描述

添加路径

添加路径

添加路径

添加路径

参数

js
const params = {
    "Id": "2",
    "CoordType": 0,
    "Points": [
      {
        "Coord": "119.265842,27.043766",
        "Height": 10
      },
      {
        "Coord": "119.266342,27.043766",
        "Height": 10
      },
      {
        "Coord": "119.266542,27.044066",
        "Height": 10
      },
      {
        "Coord": "119.266542,27.044366",
        "Height": 10
      },
      {
        "Coord": "119.266542,27.044666",
        "Height": 10
      }
    ],
    "Color": "FF0000",
    "Width": "20",
    "Type": 1,  //四种类型:1:箭头,2:动画箭头,3:实线,4:虚线
}