添加摄像机图标
js
CloudApi.SuperAPI("AddCameraPOI",params);
功能描述
添加摄像机图标
参数格式
js
const params = {
"Factory": "DH", //DH(大华),YS(宇视),HK(海康)
"Device": "Ball", //Ball(球机),tube(枪机)
"IP": "192.168.2.189", //摄像机IP
"Title": "104国道-清东路交叉口,站点名称,人员名称,15544448888", //窗口信息
"Usr": "admin", //用户名
"Pawd": "admin12345", //密码
"Port": 37777, //端口
"Chanel": 0, //通道号
"VideoUrl": "rtsp://admin:admin12345@192.168.2.212", //摄像机rtsp视频流地址,唯一标识
"CoordType": 0, //0是经纬度,1是cad坐标
"Coord": "119.2613008,27.047745", //纬度
"Height": 0.1, //高度(米)
"LabelBgUrl": "http://124.70.26.4:30002/SYZCloud/Images/LabelBg.png", //文本背景图url地址
"LabelSize": "200,50", //文本背景框尺寸
"LabelText": "104国道-清东路交叉口" //文本内容
}