添加自定义POI
js
CloudApi.SuperAPI("AddCustomPOI3D",params);
功能描述
添加自定义POI
参数格式
js
const params = {
"Id": "2",
"CoordType": 0,
"Coord": "119.265842,27.043766",
"Height": 10,
"Type": 0, //0-正常
"IsMarkerShow": 1,
"IsLabelShow": 1,
"Marker": {
"size": "60,60",
"normal_url": "http://112.51.254.160:9180/plus-images/enterprise.png",
"activate_url": "http://112.51.254.160:9180/plus-images/enterprise_act.png",
"twinkle_url": "http://112.51.254.160:9180/plus-images/enterprise_alarm.png"
},
"Label": {
"bg_image_url": "http://112.51.254.160:9180/plus-images/LabelBg.png",
"external_url": "http://112.51.254.160:9180/plus-images/LabelBg.png",
"bg_size": "300,45",
"bg_offset": "65,10",
"content": [
{
"text": [
"北京智汇云舟科技有限公司",
"ffffff",
"15"
],
"text_offset": "20,10"
}
]
},
"Window": {
"web_url": "http://112.51.254.160:9180/ioc-plus/enterprise-dia?id=1",
"window_size": "535,320",
"window_offset": "10,0"
}
}