-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathESA_legend.html
More file actions
71 lines (70 loc) · 2.01 KB
/
ESA_legend.html
File metadata and controls
71 lines (70 loc) · 2.01 KB
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
<!DOCTYPE html>
<html lang="en">
<head> </head>
<body>
<div
id="maplegend"
class="maplegend"
style="
bottom: 20px;
right: 5px;
position: fixed;
z-index: 9999;
background-color: rgba(255, 255, 255, 0.8);
padding: 10px;
border-radius: 5px;
font-size: 14px;
"
>
<div class="legend-title">Relative Percentage of Population</div>
<div class="legend-scale">
<ul class="legend-labels">
<li><span style='background:#ffffff;opacity:1.0;'></span>0 % in AGI Stub 8</li>
<li><span style='background:#BBffBB;opacity:1.0;'></span>12.5 % in AGI Stub 8</li>
<li><span style='background:#88ff88;opacity:1.0;'></span>25 % in AGI Stub 8</li>
<li><span style='background:#44ff44;opacity:1.0;'></span>37.5 % in AGI Stub 8</li>
<li><span style='background:#00ff00;opacity:1.0;'></span>50 % in AGI Stub 8</li>
</ul>
</div>
</div>
</body>
</html>
<style type="text/css">
.maplegend .legend-title {
text-align: left;
margin-bottom: 5px;
font-weight: bold;
font-size: 90%;
}
.maplegend .legend-scale ul {
margin: 0;
margin-bottom: 5px;
padding: 0;
float: left;
list-style: none;
}
.maplegend .legend-scale ul li {
font-size: 80%;
list-style: none;
margin-left: 0;
line-height: 18px;
margin-bottom: 2px;
}
.maplegend ul.legend-labels li span {
display: block;
float: left;
height: 16px;
width: 30px;
margin-right: 5px;
margin-left: 0;
border: 1px solid #999;
}
.maplegend .legend-source {
font-size: 80%;
color: #777;
clear: both;
}
.maplegend a {
color: #777;
}
</style>