function getCaseHeatmap_3D() { $.ajax({ type : "post", url : "../../easyAPI/case/getCase.action", contentType : "charset=utf-8", success : function(data) { if (data !== undefined) { caseHeatmapLoad(data);//加载案件热力图 } }, error : function(XMLHttpRequest, textStatus, errorThrown) { // 请求失败时执行该函数 console.log("获取案件实时信息失败!"); }, }); } function getCarHeatmap_3D() { $.ajax({ type : "post", url : "../../easyAPI/gpsHisDataInfo/getHisDataAllByTime.action", contentType : "application/json;charset=utf-8", success : function(data) { if (data !== undefined) { policeHeatmapLoad(data);//加载车辆热力图 } }, error : function(XMLHttpRequest, textStatus, errorThrown) { // 请求失败时执行该函数 console.log("获取案件实时信息失败!"); }, }); } function getPeopleHeatmap_3D() { $.ajax({ type : "post", url : "../../easyAPI/People/getPeople.action", contentType : "charset=utf-8", success : function(data) { if (data !== undefined) { peopleHeatmapLoad(data);//加载人口热力图 } }, error : function(XMLHttpRequest, textStatus, errorThrown) { // 请求失败时执行该函数 console.log("获取人口实时信息失败!"); }, }); } function getKeyPeopleHeatmap_3D() { $.ajax({ type : "post", url : "../../easyAPI/keyPeople/getKeypeople.action", contentType : "charset=utf-8", success : function(data) { if (data !== undefined) { keyPeopleHeatmapLoad(data);//加载重点人口热力图 } }, error : function(XMLHttpRequest, textStatus, errorThrown) { // 请求失败时执行该函数 console.log("获取重点人口实时信息失败!"); }, }); } function getFlowPeopleHeatmap_3D() { $.ajax({ type : "post", url : "../../easyAPI/flowPeople/getFlowpeople.action", contentType : "charset=utf-8", success : function(data) { if (data !== undefined) { flowPeopleHeatmapLoad(data);//加载流动人口热力图 } }, error : function(XMLHttpRequest, textStatus, errorThrown) { // 请求失败时执行该函数 console.log("获取流动人口实时信息失败!"); }, }); } function getAllPatrolLines(){ var args = JSON.stringify({ "lType" : "巡" }); $.ajax({ type : "post", url : "../../easyAPI/policeLine/queryPoliceLine.action", contentType : "application/json;charset=utf-8", data : args, success : function(data) { if (data.length != 0) { showpoliceLines(data); }else{ console.log("巡线分布信息为空!"); } }, error : function(XMLHttpRequest, textStatus, errorThrown) { console.log("获取巡线分布信息失败!"); } }); } function getkeydepHeatmap_3D() { $.ajax({ type : "post", url : "../../easyAPI/keyDepartment/getKeyDepartment.action", contentType : "charset=utf-8", success : function(data) { if (data !== undefined) { keydepHeatmapLoad(data);//加载重点单位热力图 } }, error : function(XMLHttpRequest, textStatus, errorThrown) { // 请求失败时执行该函数 console.log("获取重点单位信息失败!"); }, }); } function getbusinessHeatmap_3D() { $.ajax({ type : "post", url : "../../easyAPI/business/getBusiness.action", contentType : "charset=utf-8", success : function(data) { if (data !== undefined) { businessHeatmapLoad(data);//加载商业场所热力图 } }, error : function(XMLHttpRequest, textStatus, errorThrown) { // 请求失败时执行该函数 console.log("获取商业场所信息失败!"); }, }); } //获取所有视频监督信息 function getAllVideoScope() { $.ajax({ type : "post", url : "../../easyAPI/video/getVideoNoNodes.action", contentType : "charset=utf-8", success : function(data) { if (data !== undefined ) { $.each(data,function(){ createVideoScope(this); }); } }, error : function(XMLHttpRequest, textStatus, errorThrown) { console.log("获取视频信息失败!"); } }); }