-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
124 lines (122 loc) · 4.77 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta charset="utf-8">
<title>Third Way Benefits Map</title>
<link rel="stylesheet" href="./style.css" />
<link rel="stylesheet" href="./libraries/leaflet/leaflet.css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=League+Spartan:[email protected]&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&display=swap" rel="stylesheet">
<!-- This must be placed after Leaflet's CSS -->
<script src="./libraries/jquery-3.7.1.min.js"></script>
<script src="./libraries/jquery.slidereveal.min.js"></script>
<script src="./libraries/topojson.min.js"></script>
<script src="./libraries/leaflet/leaflet.js"></script>
<script src="./libraries/typeahead.bundle.min.js"></script>
<script src="./libraries/chroma.min.js"></script>
<script src="https://unpkg.com/@mapbox/leaflet-pip@latest/leaflet-pip.js"></script>
<script>
const iecData = {
state: {},
airport: {}
};
const showAirport = window.location.search.toLowerCase().split(/\?|&/).indexOf('layer=airport') > -1;
</script>
<script src="data/states/mb_all_he.js" ></script>
<script src="data/states/mb_all_le.js" ></script>
<script src="data/states/mb_deaths_he.js" ></script>
<script src="data/states/mb_deaths_le.js" ></script>
<script src="data/states/mb_illness.js" ></script>
<script src="data/airports/mb_all_he.js" ></script>
<script src="data/airports/mb_all_le.js" ></script>
<script src="data/airports/mb_deaths_he.js" ></script>
<script src="data/airports/mb_deaths_le.js" ></script>
<script src="data/airports/mb_illness.js" ></script>
<script src="./options.js"></script>
</head>
<body>
<div id="container">
<div class="app-header">
<div class="app-logo">
<div class="logo">Third Way</div>
</div>
<div class="spacer"></div>
<!-- Search Bar -->
<div id="map-typeahead">
<input class="typeahead" type="search">
</div>
<!-- <button id="layer-switch" class="airport" title="Switch between State/Airport data">-->
<!-- <span></span>-->
<!-- </button>-->
</div>
<div class="app-body">
<!-- Map -->
<div id="map-container"></div>
<div class="map-ctrl legend"></div>
<div id="overlay"></div>
<!-- Sliding information panel -->
<div id="info-panel">
<div class="data-container">
<div class="close-button" title="Hide information panel"></div>
<div class="header"></div>
<div class="sub-header toggle-link"></div>
<div class="body">
<div id="benefits" class="table main">
<div class="t-row t-header">
<div class="t-cell"></div>
<div class="t-cell">
<DIV class="table sub">
<DIV class="t-row">
<DIV class="t-cell"></DIV><DIV class="t-cell col-header">2050</DIV>
</DIV>
</DIV>
</div>
</div>
<div class="t-row">
<div class="t-cell t-label data-label">Total monetized benefits</div>
<div class="t-cell">
<DIV class="table sub">
<DIV class="t-row">
<DIV class="t-cell t-label">Low</DIV><DIV class="t-cell data-mb_all_le"></DIV>
</DIV>
<DIV class="t-row">
<DIV class="t-cell t-label">High</DIV><DIV class="t-cell data-mb_all_he"></DIV>
</DIV>
</DIV>
</div>
</div>
<div class="t-row">
<div class="t-cell t-label data-label">Monetized benefits - avoided premature deaths</div>
<div class="t-cell">
<DIV class="table sub">
<DIV class="t-row">
<DIV class="t-cell t-label">Low</DIV><DIV class="t-cell data-mb_deaths_le"></DIV>
</DIV>
<DIV class="t-row">
<DIV class="t-cell t-label">High</DIV><DIV class="t-cell data-mb_deaths_he"></DIV>
</DIV>
</DIV>
</div>
</div>
<div class="t-row">
<div class="t-cell t-label data-label">Monetized benefits - avoided cases of non-fatal illness</div>
<div class="t-cell">
<DIV class="table sub">
<DIV class="t-row">
<DIV class="t-cell t-label">Avg</DIV><DIV class="t-cell data-mb_illness"></DIV>
</DIV>
</DIV>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
<script src="./main.js"></script>
</html>