-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (75 loc) · 2.5 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>SAMHI Index</title>
<link rel="icon" type="image/x-icon" href="favicon.ico">
<script type="application/javascript">document.interestCohort = null;</script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.2/leaflet.css">
<style type="text/css">
#map { position: absolute; top:0; bottom:0; right:0; left:0; }
.leaflet-control-zoom {
position: absolute;
top: 100px;
}
.legend {
color: #555;
padding: 6px 8px;
font: 12px Arial, Helvetica, sans-serif;
font-weight: bold;
background: white;
background: rgba(255,255,255,0.8);
box-shadow: 0 0 15px rgba(0,0,0,0.2);
border-radius: 5px;
}
.legend ul {
list-style-type: none;
padding: 0;
margin: 0;
clear: both;
}
.legend li {
display: inline-block;
width: 30px;
height: 22px;
}
.legend .min {
float: left;
padding-bottom: 5px;
}
.legend .max {
float: right;
}
.mtitle {
color: #555;
padding: 6px 8px;
font: 18px Arial, Helvetica, sans-serif;
font-weight: bold;
background: white;
background: rgba(255,255,255,0.8);
box-shadow: 0 0 15px rgba(0,0,0,0.2);
border-radius: 5px;
}
.mtitle ul {
list-style-type: none;
padding: 0;
margin: 0;
clear: both;
}
.mtitle li {
display: inline-block;
width: 30px;
height: 22px;
}
</style>
</head>
<body>
<div id="map" style="height: 100%"></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.2/leaflet.js"></script>
<script src="lib/spin.min.js" charset="utf-8"></script>
<script src="lib/leaflet.spin.min.js" charset="utf-8"></script>
<script src="lib/choropleth.js"></script>
<script src="demo.js"></script>
</body>
</html>