forked from laurenancona/philly-pope-map
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
234 lines (206 loc) · 10.1 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
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>The RNC Map</title>
<!-- OG & Metadata -->
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<meta property="og:title" content="RNC" />
<meta property="og:url" content="http://www.opencleveland.org/rnc-map" />
<meta property="og:site_name" content="CLE RNC Map" />
<meta property="og:description" content="Transit, security & event information for the RNC" />
<meta name="twitter:card" content="photo" />
<meta name="twitter:site" content="@laurenancona" />
<meta name="twitter:creator" content="@laurenancona" />
<!-- Save to homescreen nonsense -->
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="192x192" href="img/chrome-touch-icon-192x192.png">
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="CLE RNC Map">
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png">
<!-- Tile icon for Win8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="img/ms-touch-icon-144x144-precomposed.png">
<meta name="msapplication-TileColor" content="#658B00">
<!-- Depends -->
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.4.0/mapbox.js'></script>
<link href='css/mapbox.css' rel='stylesheet' />
<!--
Use a local copy of mapbox-gl library, because of a bug in how it deals with
404'd tiles.
<script src="https://api.tiles.mapbox.com/mapbox-gl-js/v0.11.0/mapbox-gl-dev.js"></script>
-->
<script src="js/mapbox-gl-dev.js"></script>
<link href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.11.0/mapbox-gl.css" rel="stylesheet" />
<script src="js/leaflet-mapbox-gl.js"></script>
<link href="css/style.css" type="text/css" rel='stylesheet'>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<!-- TODO: Bring these local -->
<link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.0/material.deep_orange-light_blue.min.css" />
<!-- <link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/3.15/themes/css/cartodb.css" />-->
<script src="https://storage.googleapis.com/code.getmdl.io/1.0.0/material.min.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,700" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/2.1.2/mustache.js" type="text/javascript"></script>
<!-- <script src="https://apis.google.com/js/client.js?onload=handleClientLoad"></script>-->
<!--[if lt IE 9]>
<link href='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-locatecontrol/v0.21.0/L.Control.Locate.ie.css' rel='stylesheet' />
<![endif]-->
</head>
<body>
<style>
/* TODO: these should be moved to style.css */
/* #page-content { overlow-x: hidden!important; width: 100%!important; }*/
html {
margin: 0 auto;
padding: 0;
overflow-x: hidden;
}
h1 {
font-family: -apple-system-font, Arial;
}
.mdl-layout__drawer {
padding-left: 15px!important;
padding-right: 10px;
}
ul {
font-size: 10px;
line-height: 1.3em;
}
p {
font-size: 12px;
line-height: 1.4em;
}
.mdl-layout__header-row,
.mdl-layout__drawer-button {
color: white;
}
.mdl-switch__label {
font-size: 1em;
font-weight: normal;
}
.mdl-tabs__panel {
padding-top: 20px;
}
.pad {
margin-bottom: 10px;
}
/* .mdl-switch {padding: 10px 10px;}*/
/* .page-content {padding-top: } */
/* div {padding-bottom: 10px;} */
.mdl-layout__drawer>.mdl-layout-title {
padding-left: 0px;
}
.mdl-layout__drawer>.mdl-layout-title img {
padding-right: 6px;
padding-left: 0px;
}
.leaflet-control-attribution { display: none!important; }
</style>
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-drawer">
<!-- SIDE DRAWER MENU -->
<div class="mdl-layout__drawer">
<span class="side mdl-layout-title"><img src="img/star.jpg" width="40px"/>CLE RNC Map</span>
<a class="mdl-button mdl-js-button mdl-button--raised mdl-button--colored mdl-button--accent" href="/timeline.html">VIEW TIMELINE </a>
<nav class="mdl-navigation">
<!-- ADD MORE LINKS HERE-->
<div class="mdl-tabs mdl-js-tabs mdl-js-ripple-effect">
<div class="mdl-tabs__tab-bar">
<a href="#options" class="mdl-tabs__tab is-active">Options</a>
<a href="#about" class="mdl-tabs__tab">About</a>
</div>
<!-- TAB SELECTORS -->
<div class="mdl-tabs__panel is-active" id="options">
<!--
<label class="pad mdl-switch mdl-js-switch mdl-js-ripple-effect" for="secure">
<input type="checkbox" id="secure" class="mdl-switch__input" checked>
<span class="mdl-switch__label">Secure Areas</span>
</label>
-->
<label class="pad mdl-switch mdl-js-switch mdl-js-ripple-effect" for="roads">
<input type="checkbox" id="roads" class="mdl-switch__input">
<span class="mdl-switch__label">Closed Highways</span>
</label>
<label class="pad mdl-switch mdl-js-switch mdl-js-ripple-effect" for="eventzone">
<input type="checkbox" id="eventzone" class="mdl-switch__input">
<span class="mdl-switch__label">Event Zone</span>
</label>
<label class="pad mdl-switch mdl-js-switch mdl-js-ripple-effect" for="securityzone">
<input type="checkbox" id="securityzone" class="mdl-switch__input">
<span class="mdl-switch__label">Security zone</span>
</label>
<label class="pad mdl-switch mdl-js-switch mdl-js-ripple-effect" for="transit">
<input type="checkbox" id="transit" class="mdl-switch__input">
<span class="mdl-switch__label">Transit (TO DO)<small></small></span>
</label>
<label class="pad mdl-switch mdl-js-switch mdl-js-ripple-effect" for="parking">
<input type="checkbox" id="parking" class="mdl-switch__input">
<span class="mdl-switch__label">Parking/Towing Info (TO DO)</span>
<!-- -->
</label>
<p></p>
</div>
<div class="mdl-tabs__panel" id="about">
<p>This is an attempt to aggregate the myriad sources of publicly-released (analog) geodata published about the RNC visit. It should not be considered <em>official</em>, though it will be updated as often as possible if/when changes are announced.</p>
<p> Based on the work of the <a href="https://github.com/laurenancona/philly-pope-map"> Philly Pope Map </a> by: <li>
<a href="https://twitter.com/laurenancona" target="_blank">Lauren Ancona</a>, <a href="https://twitter.com/thomasfuchs" target="_blank">Thomas Fuchs</a>, and <a href="https://twitter.com/mjumbewu" target="_blank">Mjumbe Poe</a>
</p>
<div id="contributors">
<p><strong>Contributors: </strong></p>
<li><a href="https://twitter.com/laurenancona" target="_blank">Lauren Ancona</a></li>
<li><a href="https://twitter.com/thomasfuchs" target="_blank">Thomas Fuchs</a></li>
<li><a href="https://twitter.com/mjumbewu" target="_blank">Mjumbe Poe</a></li>
</div>
<br>
<p>Have an idea? <a href="https://twitter.com/laurenancona" />Feedback</a> is welcome, as is help updating layers.</p>
<p><a class="" href="/sources.html"><strong>Sources</strong></a></p>
<div id="roadmap">
<h5>Roadmap</h5>
<p>The following layers are to be donein-progress:</p>
<ul>
<li>Open/closed UHBikes stations <em></em></li>
<li>Medic stations</li>
</ul>
</div>
</div>
</div>
</div>
</nav>
</div>
<!-- MAIN CONTENT -->
<main class="mdl-layout__content">
<div class="page-content">
<!-- Add mapbox watermark -->
<a href="//mapbox.com/about/maps" class='mapbox-maplogo' target="_blank">MapBox</a>
<div id="map" <!-- plugins and other scripts -->
<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-hash/v0.2.1/leaflet-hash.js'></script>
<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-label/v0.2.1/leaflet.label.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-label/v0.2.1/leaflet.label.css' rel='stylesheet' />
<script src='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-locatecontrol/v0.43.0/L.Control.Locate.min.js'></script>
<script src='js/mbgl.Control.Locate.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-locatecontrol/v0.43.0/L.Control.Locate.mapbox.css' rel='stylesheet' />
<!--[if lt IE 9]>
<link href='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-locatecontrol/v0.43.0/L.Control.Locate.ie.css' rel='stylesheet' />
<![endif]-->
<link href='https://api.tiles.mapbox.com/mapbox.js/plugins/leaflet-locatecontrol/v0.43.0/css/font-awesome.min.css' rel='stylesheet' />
<div id='info' class='info'></div>
</div>
<div id="icons">
</div>
<!-- <script src="http://libs.cartocdn.com/cartodb.js/v3/3.15/cartodb.js"></script>-->
<script>
var PopeMap = PopeMap || {};
PopeMap.allowFancyMap = false;
</script>
<script src='js/mapgl.js'></script>
<!-- <script src="js/rrssb.min.js"></script>-->
</div>
</div>
</main>
</div>
</body>
</html>