-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
539 lines (531 loc) · 27 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
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
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="css/leaflet.css"><link rel="stylesheet" href="css/L.Control.Locate.min.css">
<link rel="stylesheet" href="css/qgis2web.css"><link rel="stylesheet" href="css/fontawesome-all.min.css">
<link rel="stylesheet" href="css/leaflet-measure.css">
<style>
html, body, #map {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
</style>
<title>An interactive bike map for the Lehigh Valley, PA</title>
<!--CREDITS----https://github.com/tomchadwin/qgis2web----https://leafletjs.com----https://qgis.org"-->
</head>
<body>
<div id="map">
</div>
<script src="js/qgis2web_expressions.js"></script>
<script src="js/leaflet.js"></script><script src="js/L.Control.Locate.min.js"></script>
<script src="js/multi-style-layer.js"></script>
<script src="js/leaflet-svg-shape-markers.min.js"></script>
<script src="js/leaflet.rotatedMarker.js"></script>
<script src="js/leaflet.pattern.js"></script>
<script src="js/leaflet-hash.js"></script>
<script src="js/Autolinker.min.js"></script>
<script src="js/rbush.min.js"></script>
<script src="js/labelgun.min.js"></script>
<script src="js/labels.js"></script>
<script src="js/leaflet-measure.js"></script>
<script src="data/sharrows_2.js"></script>
<script src="data/bikelanes_3.js"></script>
<script src="data/otherpathstrails_4.js"></script>
<script src="data/TwoRiversTrailway_5.js"></script>
<script src="data/LINKTrails_6.js"></script>
<script src="data/DLTrail_7.js"></script>
<script src="data/futurelanestrails_8.js"></script>
<script src="data/bikeshopsfixitstations_9.js"></script>
<script>
var map = L.map('map', {
zoomControl:true, maxZoom:23, minZoom:1
})
var hash = new L.Hash(map);
map.attributionControl.setPrefix('<b>An interactive bike map for the Lehigh Valley.</b><br><b><a title="or just say hi! email [email protected]" href="mailto:[email protected]">REPORT PROBLEM/CLOSURE</a> · <a href="https://github.com/LVbiketrails/map/" target="_blank">GitHub repo</a>');
var autolinker = new Autolinker({truncate: {length: 30, location: 'smart'}});
L.control.locate({locateOptions: {maxZoom: 19}}).addTo(map);
var measureControl = new L.Control.Measure({
position: 'topleft',
primaryLengthUnit: 'feet',
secondaryLengthUnit: 'miles',
primaryAreaUnit: 'sqfeet',
secondaryAreaUnit: 'sqmiles'
});
measureControl.addTo(map);
document.getElementsByClassName('leaflet-control-measure-toggle')[0]
.innerHTML = '';
document.getElementsByClassName('leaflet-control-measure-toggle')[0]
.className += ' fas fa-ruler';
var bounds_group = new L.featureGroup([]);
function setBounds() {
if (bounds_group.getLayers().length) {
map.fitBounds(bounds_group.getBounds());
}
}
map.createPane('pane_GoogleMaps_0');
map.getPane('pane_GoogleMaps_0').style.zIndex = 400;
var layer_GoogleMaps_0 = L.tileLayer('https://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}', {
pane: 'pane_GoogleMaps_0',
opacity: 1.0,
attribution: '',
minZoom: 1,
maxZoom: 23,
minNativeZoom: 0,
maxNativeZoom: 19
});
layer_GoogleMaps_0;
map.createPane('pane_GoogleSatelliteHybrid_1');
map.getPane('pane_GoogleSatelliteHybrid_1').style.zIndex = 401;
var layer_GoogleSatelliteHybrid_1 = L.tileLayer('https://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}', {
pane: 'pane_GoogleSatelliteHybrid_1',
opacity: 1.0,
attribution: '',
minZoom: 1,
maxZoom: 23,
minNativeZoom: 0,
maxNativeZoom: 19
});
layer_GoogleSatelliteHybrid_1;
map.addLayer(layer_GoogleSatelliteHybrid_1);
function pop_sharrows_2(feature, layer) {
var popupContent = '<table>\
<tr>\
<th scope="row">street</th>\
<td>' + (feature.properties['street'] !== null ? autolinker.link(feature.properties['street'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">direction</th>\
<td>' + (feature.properties['direction'] !== null ? autolinker.link(feature.properties['direction'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">segment</th>\
<td>' + (feature.properties['segment'] !== null ? autolinker.link(feature.properties['segment'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">notes</th>\
<td>' + (feature.properties['notes'] !== null ? autolinker.link(feature.properties['notes'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_sharrows_2_0() {
return {
pane: 'pane_sharrows_2',
opacity: 1,
color: 'rgba(154,255,1,1.0)',
dashArray: '',
lineCap: 'square',
lineJoin: 'bevel',
weight: 4.0,
fillOpacity: 0,
interactive: true,
}
}
map.createPane('pane_sharrows_2');
map.getPane('pane_sharrows_2').style.zIndex = 402;
map.getPane('pane_sharrows_2').style['mix-blend-mode'] = 'normal';
var layer_sharrows_2 = new L.geoJson(json_sharrows_2, {
attribution: '',
interactive: true,
dataVar: 'json_sharrows_2',
layerName: 'layer_sharrows_2',
pane: 'pane_sharrows_2',
onEachFeature: pop_sharrows_2,
style: style_sharrows_2_0,
});
bounds_group.addLayer(layer_sharrows_2);
map.addLayer(layer_sharrows_2);
function pop_bikelanes_3(feature, layer) {
var popupContent = '<table>\
<tr>\
<th scope="row">street</th>\
<td>' + (feature.properties['street'] !== null ? autolinker.link(feature.properties['street'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">direction</th>\
<td>' + (feature.properties['direction'] !== null ? autolinker.link(feature.properties['direction'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">segment</th>\
<td>' + (feature.properties['segment'] !== null ? autolinker.link(feature.properties['segment'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">type</th>\
<td>' + (feature.properties['type'] !== null ? autolinker.link(feature.properties['type'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">notes</th>\
<td>' + (feature.properties['notes'] !== null ? autolinker.link(feature.properties['notes'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_bikelanes_3_0() {
return {
pane: 'pane_bikelanes_3',
opacity: 1,
color: 'rgba(12,182,0,1.0)',
dashArray: '',
lineCap: 'square',
lineJoin: 'bevel',
weight: 4.0,
fillOpacity: 0,
interactive: true,
}
}
map.createPane('pane_bikelanes_3');
map.getPane('pane_bikelanes_3').style.zIndex = 403;
map.getPane('pane_bikelanes_3').style['mix-blend-mode'] = 'normal';
var layer_bikelanes_3 = new L.geoJson(json_bikelanes_3, {
attribution: '',
interactive: true,
dataVar: 'json_bikelanes_3',
layerName: 'layer_bikelanes_3',
pane: 'pane_bikelanes_3',
onEachFeature: pop_bikelanes_3,
style: style_bikelanes_3_0,
});
bounds_group.addLayer(layer_bikelanes_3);
map.addLayer(layer_bikelanes_3);
function pop_otherpathstrails_4(feature, layer) {
var popupContent = '<table>\
<tr>\
<th scope="row">trail name</th>\
<td>' + (feature.properties['trail name'] !== null ? autolinker.link(feature.properties['trail name'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">surface</th>\
<td>' + (feature.properties['surface'] !== null ? autolinker.link(feature.properties['surface'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">notes</th>\
<td>' + (feature.properties['notes'] !== null ? autolinker.link(feature.properties['notes'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_otherpathstrails_4_0() {
return {
pane: 'pane_otherpathstrails_4',
opacity: 1,
color: 'rgba(136,76,178,1.0)',
dashArray: '',
lineCap: 'square',
lineJoin: 'bevel',
weight: 4.0,
fillOpacity: 0,
interactive: true,
}
}
map.createPane('pane_otherpathstrails_4');
map.getPane('pane_otherpathstrails_4').style.zIndex = 404;
map.getPane('pane_otherpathstrails_4').style['mix-blend-mode'] = 'normal';
var layer_otherpathstrails_4 = new L.geoJson(json_otherpathstrails_4, {
attribution: '',
interactive: true,
dataVar: 'json_otherpathstrails_4',
layerName: 'layer_otherpathstrails_4',
pane: 'pane_otherpathstrails_4',
onEachFeature: pop_otherpathstrails_4,
style: style_otherpathstrails_4_0,
});
bounds_group.addLayer(layer_otherpathstrails_4);
map.addLayer(layer_otherpathstrails_4);
function pop_TwoRiversTrailway_5(feature, layer) {
var popupContent = '<table>\
<tr>\
<th scope="row">section</th>\
<td>' + (feature.properties['section'] !== null ? autolinker.link(feature.properties['section'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">surface</th>\
<td>' + (feature.properties['surface'] !== null ? autolinker.link(feature.properties['surface'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">length</th>\
<td>' + (feature.properties['length'] !== null ? autolinker.link(feature.properties['length'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">notes</th>\
<td>' + (feature.properties['notes'] !== null ? autolinker.link(feature.properties['notes'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_TwoRiversTrailway_5_0() {
return {
pane: 'pane_TwoRiversTrailway_5',
opacity: 1,
color: 'rgba(0,13,200,1.0)',
dashArray: '',
lineCap: 'square',
lineJoin: 'bevel',
weight: 4.0,
fillOpacity: 0,
interactive: true,
}
}
map.createPane('pane_TwoRiversTrailway_5');
map.getPane('pane_TwoRiversTrailway_5').style.zIndex = 405;
map.getPane('pane_TwoRiversTrailway_5').style['mix-blend-mode'] = 'normal';
var layer_TwoRiversTrailway_5 = new L.geoJson(json_TwoRiversTrailway_5, {
attribution: '',
interactive: true,
dataVar: 'json_TwoRiversTrailway_5',
layerName: 'layer_TwoRiversTrailway_5',
pane: 'pane_TwoRiversTrailway_5',
onEachFeature: pop_TwoRiversTrailway_5,
style: style_TwoRiversTrailway_5_0,
});
bounds_group.addLayer(layer_TwoRiversTrailway_5);
map.addLayer(layer_TwoRiversTrailway_5);
function pop_LINKTrails_6(feature, layer) {
var popupContent = '<table>\
<tr>\
<th scope="row">trail name</th>\
<td>' + (feature.properties['trail name'] !== null ? autolinker.link(feature.properties['trail name'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">surface</th>\
<td>' + (feature.properties['surface'] !== null ? autolinker.link(feature.properties['surface'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">length</th>\
<td>' + (feature.properties['length'] !== null ? autolinker.link(feature.properties['length'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">notes</th>\
<td>' + (feature.properties['notes'] !== null ? autolinker.link(feature.properties['notes'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_LINKTrails_6_0() {
return {
pane: 'pane_LINKTrails_6',
opacity: 1,
color: 'rgba(23,185,237,1.0)',
dashArray: '',
lineCap: 'square',
lineJoin: 'bevel',
weight: 4.0,
fillOpacity: 0,
interactive: true,
}
}
map.createPane('pane_LINKTrails_6');
map.getPane('pane_LINKTrails_6').style.zIndex = 406;
map.getPane('pane_LINKTrails_6').style['mix-blend-mode'] = 'normal';
var layer_LINKTrails_6 = new L.geoJson(json_LINKTrails_6, {
attribution: '',
interactive: true,
dataVar: 'json_LINKTrails_6',
layerName: 'layer_LINKTrails_6',
pane: 'pane_LINKTrails_6',
onEachFeature: pop_LINKTrails_6,
style: style_LINKTrails_6_0,
});
bounds_group.addLayer(layer_LINKTrails_6);
map.addLayer(layer_LINKTrails_6);
function pop_DLTrail_7(feature, layer) {
var popupContent = '<table>\
<tr>\
<th scope="row">segment</th>\
<td>' + (feature.properties['segment'] !== null ? autolinker.link(feature.properties['segment'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">surface</th>\
<td>' + (feature.properties['surface'] !== null ? autolinker.link(feature.properties['surface'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">length</th>\
<td>' + (feature.properties['length'] !== null ? autolinker.link(feature.properties['length'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">notes</th>\
<td>' + (feature.properties['notes'] !== null ? autolinker.link(feature.properties['notes'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_DLTrail_7_0() {
return {
pane: 'pane_DLTrail_7',
opacity: 1,
color: 'rgba(116,0,33,1.0)',
dashArray: '',
lineCap: 'square',
lineJoin: 'bevel',
weight: 4.0,
fillOpacity: 0,
interactive: true,
}
}
map.createPane('pane_DLTrail_7');
map.getPane('pane_DLTrail_7').style.zIndex = 407;
map.getPane('pane_DLTrail_7').style['mix-blend-mode'] = 'normal';
var layer_DLTrail_7 = new L.geoJson(json_DLTrail_7, {
attribution: '',
interactive: true,
dataVar: 'json_DLTrail_7',
layerName: 'layer_DLTrail_7',
pane: 'pane_DLTrail_7',
onEachFeature: pop_DLTrail_7,
style: style_DLTrail_7_0,
});
bounds_group.addLayer(layer_DLTrail_7);
map.addLayer(layer_DLTrail_7);
function pop_futurelanestrails_8(feature, layer) {
var popupContent = '<table>\
<tr>\
<th scope="row">name</th>\
<td>' + (feature.properties['name'] !== null ? autolinker.link(feature.properties['name'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">links</th>\
<td>' + (feature.properties['links'] !== null ? autolinker.link(feature.properties['links'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">notes</th>\
<td>' + (feature.properties['notes'] !== null ? autolinker.link(feature.properties['notes'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_futurelanestrails_8_0() {
return {
pane: 'pane_futurelanestrails_8',
opacity: 1,
color: 'rgba(35,35,35,1.0)',
dashArray: '',
lineCap: 'square',
lineJoin: 'bevel',
weight: 6.0,
fillOpacity: 0,
interactive: true,
}
}
function style_futurelanestrails_8_1() {
return {
pane: 'pane_futurelanestrails_8',
opacity: 1,
color: 'rgba(255,255,255,1.0)',
dashArray: '',
lineCap: 'square',
lineJoin: 'bevel',
weight: 4.0,
fillOpacity: 0,
interactive: true,
}
}
map.createPane('pane_futurelanestrails_8');
map.getPane('pane_futurelanestrails_8').style.zIndex = 408;
map.getPane('pane_futurelanestrails_8').style['mix-blend-mode'] = 'normal';
var layer_futurelanestrails_8 = new L.geoJson.multiStyle(json_futurelanestrails_8, {
attribution: '',
interactive: true,
dataVar: 'json_futurelanestrails_8',
layerName: 'layer_futurelanestrails_8',
pane: 'pane_futurelanestrails_8',
onEachFeature: pop_futurelanestrails_8,
styles: [style_futurelanestrails_8_0,style_futurelanestrails_8_1,]
});
bounds_group.addLayer(layer_futurelanestrails_8);
function pop_bikeshopsfixitstations_9(feature, layer) {
var popupContent = '<table>\
<tr>\
<th scope="row">name</th>\
<td>' + (feature.properties['name'] !== null ? autolinker.link(feature.properties['name'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">location</th>\
<td>' + (feature.properties['location'] !== null ? autolinker.link(feature.properties['location'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<th scope="row">notes</th>\
<td>' + (feature.properties['notes'] !== null ? autolinker.link(feature.properties['notes'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_bikeshopsfixitstations_9_0() {
return {
pane: 'pane_bikeshopsfixitstations_9',
shape: 'diamond',
radius: 4.0,
opacity: 1,
color: 'rgba(0,0,0,1.0)',
dashArray: '',
lineCap: 'butt',
lineJoin: 'miter',
weight: 2.0,
fill: true,
fillOpacity: 1,
fillColor: 'rgba(255,255,255,1.0)',
interactive: true,
}
}
map.createPane('pane_bikeshopsfixitstations_9');
map.getPane('pane_bikeshopsfixitstations_9').style.zIndex = 409;
map.getPane('pane_bikeshopsfixitstations_9').style['mix-blend-mode'] = 'normal';
var layer_bikeshopsfixitstations_9 = new L.geoJson(json_bikeshopsfixitstations_9, {
attribution: '',
interactive: true,
dataVar: 'json_bikeshopsfixitstations_9',
layerName: 'layer_bikeshopsfixitstations_9',
pane: 'pane_bikeshopsfixitstations_9',
onEachFeature: pop_bikeshopsfixitstations_9,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.shapeMarker(latlng, style_bikeshopsfixitstations_9_0(feature));
},
});
bounds_group.addLayer(layer_bikeshopsfixitstations_9);
map.addLayer(layer_bikeshopsfixitstations_9);
var title = new L.Control();
title.onAdd = function (map) {
this._div = L.DomUtil.create('div', 'info');
this.update();
return this._div;
};
title.update = function () {
this._div.innerHTML = '<h2>Lehigh Valley Bike Map</h2>';
};
title.addTo(map);
var abstract = new L.Control({'position':'topright'});
abstract.onAdd = function (map) {
this._div = L.DomUtil.create('div',
'leaflet-control abstract');
this._div.id = 'abstract'
this._div.setAttribute("onmouseenter", "abstract.show()");
this._div.setAttribute("onmouseleave", "abstract.hide()");
this.hide();
return this._div;
};
abstract.hide = function () {
this._div.classList.remove("abstractUncollapsed");
this._div.classList.add("abstract");
this._div.innerHTML = 'i'
}
abstract.show = function () {
this._div.classList.remove("abstract");
this._div.classList.add("abstractUncollapsed");
this._div.innerHTML = 'Hello!<br /><br />This project maps the Lehigh Valley\'s bike trails and the few bike-friendlyish streets that connect to them. Click on a trail or road segment for more information. Change layers at the top right corner.<br /><br />The <a target="blank" href="https://delawareandlehigh.org/">D&L Trail</a>, other <a target= "blank" href="https://www.thelinktrails.com/">LINK Trails</a>, and <a target="blank" href="http://forkstownship.org/recreation/parkstrails.html">Two Rivers Trailway</a> are color-coded and linked to their websites. Always check the <a target="blank" href="https://delawareandlehigh.org/map/">D&L Trail interactive web map</a> for alerts and closures. Click on a D&L Trail segment to link to its webpage.<br /><br />Green lines are <a target="blank" href="https://nacto.org/publication/urban-bikeway-design-guide/">various types of on-street bike lanes</a>. Fluorescent/chartreuse yellow-green lines represent <a target="blank" href="https://nacto.org/publication/urban-bikeway-design-guide/bikeway-signing-marking/shared-lane-markings/">sharrows, or lanes shared with cars</a>. Purple lines are local parks\' trails; they might not help you get anywhere, but they\'re often great places for kids, families, and inexperienced riders.<br /><br />Unfortunately, the LV\'s cities and municipalities haven\'t really taken to bike infrastructure yet - paint on roads is not infrastructure and does not keep people safe. Luckily the Lehigh Valley Planning Commission has a <a target="blank" href="https://www.lvpc.org/comprehensive-plan.html">Comprehensive Plan</a> that recommends local governments invest strongly in real bike-friendly infrastructure. <br /><br />If you have a color sensitivity or blindness and have difficulty reading this map, please reach out to me! Email me at <a target="blank" href="mailto:[email protected]">[email protected]</a> and I will build a solution for you - promise. <br /><br />This map and its creator cannot guarantee safety; you ride at your own risk, and should ride where you feel safest.<br /><br />created by BPT 2021-08-19<br />last updated 2021-12-29';
};
abstract.addTo(map);
var baseMaps = {};
L.control.layers(baseMaps,{'<img src="legend/bikeshopsfixitstations_9.png" /> bike shops & fixit stations': layer_bikeshopsfixitstations_9,'<img src="legend/futurelanestrails_8.png" /> future lanes & trails': layer_futurelanestrails_8,'<img src="legend/DLTrail_7.png" /> D&L Trail': layer_DLTrail_7,'<img src="legend/LINKTrails_6.png" /> LINK Trails': layer_LINKTrails_6,'<img src="legend/TwoRiversTrailway_5.png" /> Two Rivers Trailway': layer_TwoRiversTrailway_5,'<img src="legend/otherpathstrails_4.png" /> other paths & trails': layer_otherpathstrails_4,'<img src="legend/bikelanes_3.png" /> bike lanes': layer_bikelanes_3,'<img src="legend/sharrows_2.png" /> sharrows': layer_sharrows_2,"Google Satellite Hybrid": layer_GoogleSatelliteHybrid_1,"Google Maps": layer_GoogleMaps_0,}).addTo(map);
setBounds();
</script>
</body>
</html>