Skip to content

隐藏Shp管线

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

参数

js
const params = {
  "PileHideList": [
    //管线id列表
    {
      "Id": "1", //分段管线Id,//Id为all是所有分段管线
      "GroupId": "DL", //DL:电力、JS:给水、TQ:燃气、TX:通信、  WS:污水、 YS:雨水、 ZS:中水
      "Hide": 1// 1:隐藏 、0:显示
    },
    {
      "Id": "2",
     "GroupId": "DL",
      "Hide": 1
    },
    {
      "Id": "3",
      "GroupId": "DL",
      "Hide": 1
    },
    {
      "Id": "4",
      "GroupId": "DL",
      "Hide": 1
    }
  ]
}