-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (55 loc) · 1.94 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
<!DOCTYPE html>
<html>
<head>
<title>Corona HeatMap Blida (Confirmed Cases)</title>
<script
src="https://code.jquery.com/jquery-3.4.1.js"
integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU="
crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
crossorigin=""/>
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<style type="text/css">
#map { height: calc(100vh - 200px); margin-bottom: 20px; }
#main_container {
max-width: calc(100% - 30px);
height: 100vh;
}
</style>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="
crossorigin=""></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/heatmap.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/leaflet-heatmap.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.1.0/papaparse.js"></script>
<script type="text/javascript" src="corona_heatmap.js"></script>
</head>
<body>
<div class="container" id="main_container">
<div class="row">
<div class="col-sm">
<h2 class="text-center">Corona Infection HeatMap Blida</h2>
</div>
</div>
<div class="row">
<div class="col-sm">
<div id="map"></div>
</div>
</div>
<div class="row">
<div class="col-sm text-center">
<label>Date :<select id="date_select">
</select></label>
</div>
</div>
</div>
<div>
</div>
<script type="text/javascript">
$(function () {
CoronaHeatMap.init( "map", "date_select" );
});
</script>
</body>
</html>