zhanmingkan
2022-05-14 0fc43fe898d14895c97427801293edfb3a0c5bf1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
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("获取视频信息失败!");
        }
    });
}