-
Notifications
You must be signed in to change notification settings - Fork 6
/
debug.html
266 lines (247 loc) · 12.4 KB
/
debug.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
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
<!doctype html>
<html>
<head>
<!-- Force https, because location sharing creeps me out -->
<script type="text/javascript">
var host = "phillypopemap.com";
if ((host == window.location.host) && (window.location.protocol != "https:"))
window.location.protocol = "https";
</script>
<meta charset="UTF-8">
<title>Philly Pope Map</title>
<!-- OG & Metadata -->
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<meta property="og:title" content="Philly Pope Map | Philadelphia" />
<meta property="og:url" content="https://phillypopemap.com" />
<meta property="og:site_name" content="Philly Pope Map" />
<meta property="og:image" content="https://phillypopemap.com/img/hotlink-ok/phillypopemap.jpg" />
<meta property="og:description" content="Transit, security & event information for September 26-28, 2015" />
<meta name="twitter:card" content="photo" />
<meta name="twitter:site" content="@laurenancona" />
<meta name="twitter:creator" content="@laurenancona" />
<link rel="image_src" href="https://phillypopemap.com/img/hotlink-ok/phillypopemap.jpg" />
<!-- 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="Philly Pope 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.2.2/mapbox.js'></script>
<link href='css/mapbox.css' rel='stylesheet' />
<script src="https://api.tiles.mapbox.com/mapbox-gl-js/v0.11.0/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>
<!-- LA Google Tag Manager, of course -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-W6WFRN" height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
<script>
(function(w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({
'gtm.start': new Date().getTime(),
event: 'gtm.js'
});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-W6WFRN');
</script>
<!-- End Google Tag Manager -->
<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/hotlink-ok/popemapthumbnail.png" width="40px"/>Philly Pope 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="highways">
<input type="checkbox" id="highways" 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="walking">
<input type="checkbox" id="walking" class="mdl-switch__input">
<span class="mdl-switch__label">Walking Routes</span>
</label>
<label class="pad mdl-switch mdl-js-switch mdl-js-ripple-effect" for="screens">
<input type="checkbox" id="screens" class="mdl-switch__input">
<span class="mdl-switch__label">Jumbotrons</span>
</label>
<label class="pad mdl-switch mdl-js-switch mdl-js-ripple-effect" for="hospitals">
<input type="checkbox" id="hospitals" class="mdl-switch__input">
<span class="mdl-switch__label">Hospitals</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" checked>
<span class="mdl-switch__label">Transit <small>(updated 9/22)</small></span>
</label>
<label class="pad mdl-switch mdl-js-switch mdl-js-ripple-effect" for="entrances">
<input type="checkbox" id="entrances" class="mdl-switch__input">
<span class="mdl-switch__label">Festival Entrances</span>
</label>
<label class="pad mdl-switch mdl-js-switch mdl-js-ripple-effect" for="poperide">
<input type="checkbox" id="poperide" class="mdl-switch__input">
<span class="mdl-switch__label">Pope Ride Bike Routes</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" checked>
<span class="mdl-switch__label">Parking/Towing Info</span>
<!-- -->
</label>
</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 #PopeInPhilly visit. It should not be considered <em>official</em>, though it will be updated daily as changes are announced.</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 in-progress:</p>
<ul>
<li>Regional transit stations</li>
<li>Open/closed Indiego Bikeshare stations <em><strong>next</strong></em></li>
<li>Medic stations</li>
<li>All timed boundaries</li>
<li>[x] Vehicle Tow Zones + Times <em><strong>added 9/11</strong></em></li>
<li>[x] City transit stations <em><strong>added 9/9</strong></em></li>
<li>[x] Jumbotron locations <em><strong>added</strong></em></li>
<li>[x] Authorized Vehicle Only routes <em><strong>added 9/8</strong></em></li>
<li>[x] Recommended walking routes <em><strong>added 9/10</strong></em></li>
<li>[x] Closed highways/Roads/Bridges<strong>added 9/11</strong</li>
<li>[x] Event entrance points <em><strong>added 9/9</strong></em></li>
<li>[x] Hospitals <em>added 9/15</em></li>
<li>[x] Pope Bike Ride route <em><strong>added 9/10</strong></em></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="js/feature-geojson.js" type="text/javascript"></script>
<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>
<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 = true;
</script>
<script src='js/debug.js'></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>
window.jQuery || document.write('<script src="js/vendor/jquery.1.10.2.min.js"><\/script>')
</script>
<!-- <script src="js/rrssb.min.js"></script>-->
</div>
</div>
</main>
</div>
</body>
</html>