-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
126 lines (105 loc) · 5.26 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
<!doctype html>
<html lang="en">
<head>
<!-- this is what shows on hover in the tab -->
<title>Fair Districts GA</title>
<!-- these three should always be glued to the top -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="description" content="FDGA" />
<meta name="keywords" content="keywords, are, fantastic" />
<!-- favicon -->
<link rel="icon"
type="image/png"
href="img/FairDistrictsGA_icon.png">
<!-- google font example -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Lato:400,300,100" />
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<!-- Mapbox CSS -->
<link href='https://api.mapbox.com/mapbox-gl-js/v2.3.0/mapbox-gl.css' rel='stylesheet'/>
<!-- <link href="https://api.mapbox.com/mapbox-gl-js/v2.0.1/mapbox-gl.css" rel="stylesheet" /> -->
<link rel='stylesheet' href='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v4.4.0/mapbox-gl-geocoder.css' type='text/css' />
<!-- Main CSS -->
<link rel="stylesheet" href="css/styles.css?v=2.8" />
</head>
<body>
<!-- MARKUP GOES HERE -->
<main class="interactive">
<a href="https://www.fairdistrictsga.org/"><img src="img/fdga_logo.png" alt="FDGA" id="logo"></a>
<!-- <img id="logo" src="img/fdga_logo.png"> -->
<div id="map"></div>
<!-- dropdowns -->
<div id="new-controls">
<select class='search-buttons' id="level" title="Select the political boundary">
<option value="" disabled="true">Select the political boundary</option>
<option value="senate">State Senate, current</option>
<option value="house" selected>State House, current</option>
<option value="congress">US Congress, current</option>
<option value="congress_proposed">US Congress, proposed 9/27/2021</option>
<!-- <option value="senate_proposed" disabled="true">State Senate, proposed</option>
<option value="house_proposed" disabled="true">State House, proposed</option>
<option value="congress_proposed" disabled="true">US Congress, proposed</option> -->
</select>
<select class='search-buttons' id="measure" title="Select the background to display">
<option value="" disabled="true">Select the background to display</option>
<option value="streets">Streets Background Layer</option>
<option disabled>2020 US Census Demographics</option> <!-- make this a header, not an option -->
<option value="bvap" selected>-- Percent Black Voting Age Population</option>
<option value="hvap">-- Percent Hispanic Voting Age Population</option>
<option value="avap">-- Percent Asian Voting Age Population</option>
<option value="bipocvap">-- Percent Minority Voting Age Population</option>
<option disabled>Election Results by precinct</option> <!-- make this a header, not an option -->
<option value="precinct_plean">-- Partisan Lean, 2018-2021</option>
<!-- <option value="ussr21">-- US Senate (Loeffler/Warnock), 2021</option>
<option value="p20">-- President, 2020</option>
<option value="g18">-- Governor, 2018</option> -->
</select>
<div class="toggle">
<input class="form-check-input" type="checkbox" value="" id="show_district">
<label class="form-check-label" for="show_district">
Show data at district-level
</label>
</div>
<div class="toggle">
<input class="form-check-input" type="checkbox" value="" id="show_city">
<label class="form-check-label" for="show_city">
Show city boundaries
</label>
</div>
<div class="toggle">
<input class="form-check-input" type="checkbox" value="" id="show_county">
<label class="form-check-label" for="show_county">
Show county boundaries
</label>
</div>
</div>
<div id='sidebar' style="display: none;">
<div id='tooltip'></div>
</div>
<div id="legendcontainer">
<ul id="legend-ui"></ul>
</div>
<!-- <div id="legend-container">
<ul id="ga-legends" class="map-legend-overlay"></ul>
</div>
<div id="legendcontainer_isolated" style="display: none;">
<ul id="legend-ui_isolated"></ul>
</div> -->
</main>
<!-- j-query & bootsrap-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
<!-- Mapbox -->
<script src='https://api.mapbox.com/mapbox-gl-js/v2.3.0/mapbox-gl.js'></script>
<!-- <script src="https://api.mapbox.com/mapbox-gl-js/v2.0.1/mapbox-gl.js"></script> -->
<script src='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v4.4.0/mapbox-gl-geocoder.min.js'></script>
<!-- project js, change versions if you have trouble getting the browser to load changes-->
<script src="js/sources.layers.js"></script>
<script src="js/main.js?v=4.4"></script>
<script>
Georgia.init();
</script>
</body>
</html>