-
Notifications
You must be signed in to change notification settings - Fork 1
/
map.html
155 lines (132 loc) · 8.34 KB
/
map.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<head>
<title>Purple Line</title>
<!-- CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" crossorigin="" />
<link rel="stylesheet" href="./css/main.css">
<!-- JavaScript libraries (custom are at the bottom)-->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew==" crossorigin=""></script>
</head>
<body>
<nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark">
<a class="navbar-brand" href="index.html">Purple Line | Plan Integration Tool</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="map.html">Map</a>
</li>
<li class="nav-item">
<a class="nav-link" href="tutorial.html">Tutorial</a>
</li>
<li class="nav-item">
<a class="nav-link" href="docs.html">Documentation</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html">Contact</a>
</li>
</ul>
</div>
</nav>
<div id="map"></div>
<div class="container-sm">
<div class="row">
<div class="col-3 mb-4 ml-3 p-4 bg-light text-dark" id="left-panel">
<div class="btn-group btn-group-toggle mb-4" data-toggle="buttons">
<label class="btn btn-dark active">
<input type="radio" name="toggle" id="displayIntro" onclick="toggleFunction()" checked> Intro
</label>
<label class="btn btn-dark">
<input type="radio" name="toggle" id="displayQuery" onclick="toggleFunction()"> Query
</label>
<label class="btn btn-dark">
<input type="radio" name="toggle" id="displayAnalysis" onclick="toggleFunction()"> Analyze
</label>
</div>
<div id="introDiv" style="display: block;">
<h5>Purple Line Plan Integration Tool</h5>
<p>
Welcome!
</p>
<p>
Are you planning a project in the Purple Line Corridor? You can use this tool to explore what else is being planned around it.
</p>
<p>
Behind this tool is a database of different plans. These plans may be big, small, certain, uncertain, grand visions, or nearly in the ground.
</p>
<p>
With access to these plans you'll be able to make better decisions about <b>your</b> plans.
</p>
<p>
The Purple Line Plan Integration Tool is a project from the
<a href="http://purplelinecorridor.org/" target="blank">Purple Line Corridor Coalition.</a> To add your plans to the database,
<a href="mailto:[email protected]">get in touch</a>.
</p>
<!-- source: http://purplelinecorridor.org/ -->
<a href="http://purplelinecorridor.org/" target="blank"><img id="logo" src="./img/PLCC_logo.png" alt="Image of the Purple Line Corridor Coalition logo."></a>
</div>
<div id="queryDiv" style="display: none;">
<form method="POST" enctype="multipart/form-data" id="form">
<div id="query-builder">
<div>
<div class="form-group">
<label for="table">Select a table: </label>
<select class="form-control" name="table" id="table-query" onchange="columnRequest()">
<option value="table">Select a table</option>
<option value="land_use_plans">Land Use Plans</option>
<option value="montgomery_county_bus_stops">Montgomery County Bus Stops</option>
<option value="pg_county_bus_stops">Prince George's County Bus Stops</option>
<option value="wmata_metro_lines">WMATA Metro Lines</option>
</select>
</div>
<div class="form-group" id="columns">
</div>
<div class="form-group">
<label for="operator">Select an operator: </label>
<select class="form-control" name="operator" id="operator">
<option value="select">Select an operator</option>
<option value="=">equal to</option>
<option value=">">not equal to</option>
<!-- <option value="">less than</option>
<option value="=">less or equal to</option>
<option value=">">greater than</option>
<option value=">=">greater or equal to</option> -->
</select>
</div>
<div class="form-group">
<label for="values">Select a value:</label>
<select class="form-control" name="values" id="values">
<option value="select">Select a value after picking a column</option>
</select>
</div>
</div>
</div>
<!-- <button type="button" class="btn btn-outline-secondary btn-sm mb-3" onclick="addQuery()">+ add another section to the query</button> -->
<input class="btn btn-dark" type="submit">
<button class="btn btn-outline-dark" id="clear" onclick="clearData()">Clear Data</button>
</form>
</div>
<div id="analysisDiv" style="display: none;">
Coming soon!
</div>
</div>
</div>
</div>
<!-- custom JavaScript -->
<!-- "Make sure all the code is called after the div and leaflet.js inclusion." -->
<script src="./js/corridor.js"></script>
<script src="./js/main.js"></script>
</body>
</html>