-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
141 lines (116 loc) · 4.74 KB
/
index.html
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
<!DOCTYPE html>
<html lang="ko">
<head>
<title>데이터 검색 서비스 모듈</title>
<meta charset="UTF-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/1.4.1/leaflet.markercluster.js"></script>
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="../static/asset/leaflet.markercluster-src.js"></script>
<link rel="stylesheet" href="../static/css/map_common.css"/>
<link rel="stylesheet" href="../static/css/marker_cluster.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/1.4.1/MarkerCluster.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/1.5.0/MarkerCluster.Default.min.css" />
<!--dataTable-->
<link rel="stylesheet" href="../static/css/dataTables.bootstrap4.css">
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.25/css/jquery.dataTables.min.css"/>
<script src="https://cdn.datatables.net/1.10.25/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.2/js/dataTables.buttons.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.2/js/buttons.html5.min.js"></script>
<script src="https://cdn.datatables.net/responsive/2.2.3/js/dataTables.responsive.js"></script>
<script src="https://cdn.datatables.net/1.10.25/js/dataTables.bootstrap4.min.js"></script>
</head>
<style>
.leaflet-popup-content-wrapper{
width:440px;
}
.marker-cluster-small div {
background-color: rgb(222 176 186);
}
.marker-cluster-small {
background-color: rgb(226 140 140 / 60%);
}
.marker-cluster div {
font: 20px "Helvetica Neue",Arial,Helvetica,sans-serif;
}
div.dataTables_wrapper div.dataTables_length select {
width:50px;
font-size: 0.8em;
}
div.dataTables_info{
margin-right:15px;
margin-bottom : 10px;
font-weight:bold;
font-size:0.9em;
padding-top:6px;
}
</style>
<body>
<div id="map"></div>
<!-- <div class="map-on-top-right-field">
<span class="map-ctn-btn" id="moveBtn">
<strong>랜덤 이동 버튼</strong>
</span>
</div> -->
<div class="map-on-top-left-field">
<div class="map-txt">
<strong id="myLocationTxt"></strong>
<select id="locationSelectBox">
<option value="here">현재 위치에서 검색</option>
<option value="spot">원하는 위치에서 검색</option>
</select>
<select id="distanceSelectBox" onchange="changeCircle()">
<option value="" hidden>반 경</option>
<option value="all">전 체</option>
<option value="1000">1 km</option>
<option value="5000">5 km</option>
<option value="" hidden>반경고정</option>
</select>
<select id="iaqoaqSelectBox" >
<option value="" hidden>공기질</option>
<option value="iaq">실내</option>
<option value="oaq">실외</option>
</select>
<select id="categorySelect" >
<option value="" hidden>시설/지역</option>
</select>
<button id='search'>조회</button>
<br>
<div id="spotDiv" style='display:none'>
<select id="siSelectBox" >
<option value="" hidden>시</option>
</select>
<select id="guSelectBox" >
<option value="" hidden>구</option>
</select>
<select id="dongSelectBox" >
<option value="" hidden>동</option>
</select>
</div>
</div>
</div>
<div class="map-on-top-right-field">
<button class="right-pm-btn" onclick="openPmPop('pm10')">PM-10</button>
<button class="right-pm-btn" onclick="openPmPop('pm25')">PM-2.5</button>
</div>
<div id="listDiv">
<button id="csvDownBtn">측정망 리스트 다운로드</button>
<table id="listTable">
<thead>
<td>지점명</td>
<td>지점번호</td>
<td>위도</td>
<td>경도</td>
<td>수신현황</td>
</thead>
<tbody id="listTableBody">
</tbody>
</table>
</div>
<!-- <button id="csvDownBtn">측정망 리스트 다운로드</button> -->
<div class="map-on-bottom-left-field" id="marker-legend" style="display: none;"><img src="static/image/marker-legend.svg" style="width: 100%;"></div>
<script src="../static/js/search.js"></script>
<script src="../static/js/cluster.js"></script>
</body>
</html>