-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindexOSM.html
2285 lines (2061 loc) · 174 KB
/
indexOSM.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
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta Http-Equiv="Cache-Control" Content="no-cache">
<meta Http-Equiv="Pragma" Content="no-cache">
<meta Http-Equiv="Expires" Content="0">
<meta Http-Equiv="Pragma-directive: no-cache">
<meta Http-Equiv="Cache-directive: no-cache">
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
<script src="util/jquery.easy-autocomplete.min.js"></script>
<script>
function setCookie(c_name,value,exdays){var exdate=new Date();exdate.setDate(exdate.getDate() + exdays);var c_value=escape(value) + ((exdays==null) ? "" : ("; expires="+exdate.toUTCString()+"; path=/"));document.cookie=c_name + "=" + c_value;}
var thisDomain = window.location.hostname;
/*console.log (thisDomain);*/
function getCookie(cname) {
var name = cname + "=";
var decodedCookie = decodeURIComponent(document.cookie);
var ca = decodedCookie.split(';');
for(var i = 0; i <ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
}
function delete_cookie( name, path, domain ) {
if( getCookie( name ) ) {
document.cookie = name + "=" +
((path) ? ";path="+path:"")+
((domain)?";domain="+domain:"") +
";expires=Thu, 01 Jan 1970 00:00:01 GMT";
}
}
var consent = getCookie("cookieconsent_status");
if (consent==="allow"){
console.log('Cookie Accept Status : ' + consent);
var script = document.createElement('script');
script.setAttribute('src','https://www.googletagmanager.com/gtag/js?id=UA-111590963-1');
document.head.appendChild(script);
}else if (consent=="deny"){
console.log('Cookie Accept Status : ' + consent);
delete_cookie('_ga','/','.tfljamcams.net');
delete_cookie('_gat_gtag_UA-111590963-1','/','.tfljamcams.net');
delete_cookie('_gid','/','.tfljamcams.net');
setCookie('tfljamcams',0,-1);
}else{
console.log('Cookie Accept Status : not set');
}
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#000"
},
"button": {
"background": "#f1d600"
}
},
"position": "top",
"showLink": true,
"theme": "classic",
"type": "opt-in",
"content": {
"message": "We use cookies to provide visit analytics and mobile responsive views on a variety of devices. You can choose to deny or allow use of Cookies during your visit.",
"dismiss": '<a aria-label="deny cookies" role="button" tabindex="0" class="cc-btn cc-deny" style="min-width: 50px;">Deny</a>',
"allow": "Allow",
"link": "Learn More",
"href": "https://www.tfljamcams.net/contact/privacypolicy.html",
},
"revokeBtn": "<div class='cc-revoke @{{classes}}' style='font-size:x-small;margin-top:15px;' title='Manage Cookie Preferences'>Cookies</div>",
onInitialise: function (status) {
var type = this.options.type;
var didConsent = this.hasConsented();
if (type == 'opt-in' && didConsent && consent==='allow') {
setTimeout(function() {
document.getElementsByClassName("cc-revoke")[0].style.display = "block";
});
/* enable cookies*/
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-111590963-1');
}else{
setTimeout(function() {
document.getElementsByClassName("cc-revoke")[0].style.display = "block";
});
}
},
onStatusChange: function(status, chosenBefore) {
var type = this.options.type;
var didConsent = this.hasConsented();
if (type == 'opt-in' && didConsent && consent==='allow') {
/* enable cookies*/
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-111590963-1');
}
},
onRevokeChoice: function() {
var type = this.options.type;
if (type == 'opt-in' && consent!='allow') {
console.log('Clear Cookies ');
/* disable cookies*/
delete_cookie('_ga','/','.tfljamcams.net');
delete_cookie('_gat_gtag_UA-111590963-1','/','.tfljamcams.net');
delete_cookie('_gid','/','.tfljamcams.net');
setCookie('tfljamcams',0,-1);
/* Get an array of cookies*/
var arrSplit = document.cookie.split(";");
for(var i = 0; i < arrSplit.length; i++)
{
var cookie = arrSplit[i].trim();
var cookieName = cookie.split("=")[0];
/* If the prefix of the cookie's name matches the one specified, remove it*/
if(cookieName.indexOf("sssUpp") ===0) {
/* Remove the cookie*/
document.cookie = cookieName + "=; Max-Age=-99999999;";
}
}
}
},
})});
</script>
<base target="_blank">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta http-equiv="content-language" content="en">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="description" content="London Traffic Live JamCam Map - 900+ TfL Traffic CCTV Cameras, Incidents, Road closures and Bus Stops.">
<meta name="keywords" content="london traffic,camera, cctv, map, london, traffic, tfl, jamcam, cams, live, feed, cctv, real-time, closures, incident, road closure, roadwork, cameras, delays, alerts, bus stops, arrivals">
<!--link rel="canonical" href="https://www.tfljamcams.net"-->
<meta name="nosnippets">
<meta Http-Equiv="Cache-Control" Content="no-cache">
<meta Http-Equiv="Pragma" Content="no-cache">
<meta Http-Equiv="Expires" Content="0">
<meta Http-Equiv="Pragma-directive: no-cache">
<meta Http-Equiv="Cache-directive: no-cache">
<meta property="og:title" content="London Traffic Cameras - Live TfL JamCam Feeds" />
<meta property="og:type" content="website" />
<meta property="og:description" content="London Traffic JamCam Map - 900+ Real-Time TfL image/video feeds with Traffic Layer and Bus Stops. Ad-free and fast!" />
<meta property="og:url" content="https://www.tfljamcams.net/" />
<meta property="og:image" content="https://www.tfljamcams.net/img/tfljamcams.jpg" />
<meta itemprop="name" content="London Traffic Cameras - Live TfL JamCam Feeds">
<meta itemprop="description" content="London Traffic JamCam Map - 900+ Real-Time TfL image/video feeds with Traffic Layer and Bus Stops. Ad-free and fast!">
<meta itemprop="image" content="https://www.tfljamcams.net/img/tfljamcams.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
<link rel="apple-touch-icon" href="util/icon57.png" sizes="57x57">
<link rel="apple-touch-icon" href="util/icon72.png" sizes="72x72">
<link rel="apple-touch-icon" href="util/icon76.png" sizes="76x76">
<link rel="apple-touch-icon" href="util/icon114.png" sizes="114x114">
<link rel="apple-touch-icon" href="util/icon120.png" sizes="120x120">
<link rel="apple-touch-icon" href="util/icon144.png" sizes="144x144">
<link rel="apple-touch-icon" href="util/icon152.png" sizes="152x152">
<link rel="icon" href="util/icon192.png" sizes="192x192">
<meta name="msapplication-TileImage" content="util/favicon-144.png">
<meta name="msapplication-TileColor" content="#B20099">
<meta name="application-name" content="TfL JamCams">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="mobile-web-app-capable" content="yes">
<link rel="manifest" href="/manifest.json">
<script type="text/javascript">
/*var isMobileDevice = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);if (isMobileDevice){camInfo.Hide();}*/
Share={
Show:function(){var i=document.getElementById('Share');i.style.width='auto';document.getElementById('Share_inactive').style.display='none';document.getElementById('Share_active').style.display='block';},
Hide:function(){var i=document.getElementById('Share');i.style.width='auto';document.getElementById('Share_inactive').style.display='block';document.getElementById('Share_active').style.display='none';}
};
Info={
Hide:function(){var i=document.getElementById('disclaimer-panel');i.style.width='auto';document.getElementById('Acknowledgement_inactive').style.display='block';document.getElementById('Acknowledgement_active').style.display='none';},
Show:function(){var i=document.getElementById('disclaimer-panel');i.style.width='auto';document.getElementById('Acknowledgement_inactive').style.display='none';document.getElementById('Acknowledgement_active').style.display='block';}
};
camInfo={
Hide:function(){var i=document.getElementById('camInfo');i.style.width='auto';document.getElementById('camInfo_inactive').style.display='block';document.getElementById('camInfo_active').style.display='none';},
Show:function(){
var i=document.getElementById('camInfo');i.style.width='auto';document.getElementById('camInfo_inactive').style.display='none';document.getElementById('camInfo_active').style.display='block';
}
};
/*
searchInfo={
Hide:function(){var i=document.getElementById('searchInfo');i.style.width='auto';document.getElementById('searchInfo_inactive').style.display='inline';document.getElementById('searchInfo_active').style.display='none';document.getElementById('camInfo_active').style.display='inline';document.getElementById('q').value = '';
document.getElementById('busInfo').style.display='inline';
document.getElementById('tubeInfo').style.display='inline';
document.getElementById('searchInfo').style.display='inline';
resetMarkers(busMarkersArray);
},
Show:function(){document.getElementById('searchInfo').style.width='auto';
if(document.getElementById('captcha').style.display=='none'){document.getElementById('captcha').style.display='block';grecaptcha.reset();}else{document.getElementById('captcha').style.display='none';}
*/
/*
document.getElementById('searchInfo_inactive').style.display='none';
document.getElementById('searchInfo').style.display='none';
document.getElementById('busInfo').style.display='none';
document.getElementById('tubeInfo').style.display='none';
document.getElementById('searchInfo_active').style.display='inline';
document.getElementById('q').focus();
document.getElementById('camInfo_active').style.display='none';
}
};*/
/*
busInfo={
Hide:function(){var i=document.getElementById('busInfo');i.style.width='auto';document.getElementById('busInfo_inactive').style.display='inline';document.getElementById('busInfo_active').style.display='none';$('#route').val('');$('#route').change();},
Show:function(){var i=document.getElementById('busInfo');i.style.width='auto';document.getElementById('busInfo_inactive').style.display='none';document.getElementById('busInfo_active').style.display='inline';document.getElementById('route').focus();}
};
tubeInfo={
Hide:function(){document.getElementById('tubeInfo').style.width='auto';document.getElementById('camInfo_active').style.display='inline';document.getElementById('tubeInfo_inactive').style.display='inline';document.getElementById('tubeInfo_active').style.display='none';$('#line').val('');$('#line').change();},
Show:function(){document.getElementById('tubeInfo').style.width='auto';document.getElementById('tubeInfo_inactive').style.display='none';document.getElementById('tubeInfo_active').style.display='inline';}
};
*/
var cams = 'cams';
var incidents = 'incidents';
</script>
<title>London Traffic Cameras - Live TfL JamCam Feeds</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
<link href="util/styleOSM.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
crossorigin=""/>
<!-- Make sure you put this AFTER Leaflet's CSS -->
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-GffPMF3RvMeYyc1LWMHtK8EbPv0iNZ8/oTtHPx9/cc2ILxQ+u905qIwdpULaqDkyBKgOaB57QTMg7ztg8Jm2Og=="
crossorigin=""></script>
<!-- Load Esri Leaflet from CDN -->
<script src="https://unpkg.com/[email protected]/dist/esri-leaflet.js"
integrity="sha512-cMQ5e58BDuu1pr9BQ/eGRn6HaR6Olh0ofcHFWe5XesdCITVuSBiBZZbhCijBe5ya238f/zMMRYIMIIg1jxv4sQ=="
crossorigin=""></script>
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; z-index:100}
.cc-window {
font-size: 12px;
}
.cc-message {
width: auto;
}
#update {
font-family:arial;
text-align: center;
visibility: hidden;
min-width: 260px;
min-height: 60px;
margin-left: -125px;
background-color: #333;
color: #fff;
border-radius: 2px;
padding: 16px;
position: fixed;
z-index: 99999;
left: 50%;
bottom: 80px;
}
#update.show {
visibility: visible;
-webkit-animation: fadein 0.5s;
animation: fadein 0.5s;
}
#update.hide {
visibility: hidden;
-webkit-animation: fadeout 0.5s;
animation: fadeout 0.5s;
}
@-webkit-keyframes fadein {
from {
bottom: 0;
opacity: 0;
}
to {
bottom: 80px;
opacity: 1;
}
}
@keyframes fadein {
from {
bottom: 0;
opacity: 0;
}
to {
bottom: 80px;
opacity: 1;
}
}
#getnew {
color:#85C1E9;
font-size: 1.1em;
font-weight: bold;
}
#dismiss_update {
text-align: right !important;
color:#FFA500; /*#85C1E9;*/
font-size: 1.1em;
font-weight: bold;
}
.pointer {
cursor: pointer;
}
.time{
font-size: 10px;
font-family: sans-serif;
line-height: 1px;
}
.route{
box-sizing:border-box;
font-size: 16px;
font-family: sans-serif;
font-weight:bold;
/*background-color:red;
color:white;*/
display: inline-block;
padding: 4px;
line-height: 24px;
width: 15%;
height:24px;
text-align:center;
}
.title{
font-size: 15px;
font-family: sans-serif;
line-height: 24px;
}
.towards{
display: inline;
font-size: 16px;
font-family: sans-serif;
padding: 4px;
line-height: 24px;
max-width: 40%;
text-align:left;
margin-left:0; margin-right:auto;
}
.content{
font-size: 16px;
font-family: sans-serif;
display: block;
line-height: 24px;
outline: 0.2px solid gray ;
display:table;
width:85%;
}
.content>div{display:table-cell;}
.due{
display: inline-block;
font-size: 16px;
font-family: sans-serif;
line-height: 24px;
height:24px;
margin-left:auto; margin-right:0;
text-align:right;
min-width: 20%;
}
.gm-style {
font-family: sans-serif !important;
}
.easy-autocomplete {
position: relative;
margin-right:5px;
display: inline-block !important;
min-width: auto;
}
/*
.leaflet-popup-content-wrapper{
width:392px;
}
*/
.ui-button {
background:#ffffff;
color:#000000;
display:block;
position:absolute;
right:20px;bottom:90px;
width:20px;
z-index:500;
padding: 5px;
padding-left:5px;
text-align:left;
line-height: 12px;
font-family: Calibri;
font-size: 10px;
}
.ui-button:hover {
/*background:#3074a4;
color:#fff;*/
}
element.style {
display: block;
z-index: 500;
}
</style>
</head>
<body>
<div id="floating-panel" style="display:block;z-index:500;">
<span><a href="https://www.twitter.com/tfljamcams" onclick="javascript:window.open(this.href,'','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false" class="fa fa-twitter" title="Twitter"></a>
<em>TfL JamCam <span id="feedType"></span><span id="TypePlural"></span></em></span>
<div id="iType" class="Type"><input class="indexbutton" id="btnload" type="button" value="Getting feeds.." />
</div>
<input onclick="window.location.href='https://www.tfljamcams.net/';" class="OSMbutton" id="btnOSM" type="button" value="Google Map" />
<div id="loadingmessage" class="loadmessage">
</div>
</div>
<div id="captcha" class="captchamodal" style="display:none;">
<div class="captchamodal-content">
<div class="captchamodal-footer">
<div id="recaptcha-service" class="g-recaptcha"
data-callback="recaptchaCallback"
data-sitekey="6LfcxT4UAAAAABnT2kWaGpP2HAQlb_DEnYIx-Sbq"></div>
<script type="text/javascript" src="https://www.google.com/recaptcha/api.js?hl=en"></script>
</div>
</div>
</div>
<div id="camInfo" style="display:block;z-index:500;">
<!--style="display:block;z-index:500;"-->
<div id="camInfo_inactive">
<a href="" class="fa fa-ellipsis-v" style="margin-left:5px;margin-right:5px;" onclick="camInfo.Show();Info.Hide();Share.Hide();return false;" title="In Development Nov 2019"></a><!--title="Show Marker Viewport Info"-->
</div>
<div id="camInfo_active">
<div id="searchInfo" >
<div id="searchInfo_inactive" style="display:inline;display:none;">
<a href="" class="fa fa-search" onclick="searchInfo.Show();busInfo.Hide();tubeInfo.Hide();Info.Hide();Share.Hide();return false;" title="Search Map"></a>
</div>
</div>
<div id="tubeInfo" style="display:none;">
<div id="tubeInfo_active" style="font-family: sans-serif;display:none;">
Line
<select id="line" style="width: 50px;"><option selected>
<option>Bakerloo
<option>Central
<option>Circle
<option>District
<option>DLR
<option>Emirates-Air-Line
<option>Hammersmith-City
<option>Jubilee
<option>London-Overground
<option>Metropolitan
<option>Northern
<option>Piccadilly
<option>Thames-River-Services
<option>Tram
<option>TfL-Rail
<option>Victoria
<option>Waterloo-City
<option>Woolwich-Ferry
</select>
<a href="" onclick="tubeInfo.Hide();return false;" title="Hide Tube Info"><img src="img/underground_20.png" alt="Underground"></a>
</div>
<div id="tubeInfo_inactive" style="display:inline;">
<a href="" onclick="tubeInfo.Show();searchInfo.Hide();busInfo.Hide();Info.Hide();Share.Hide();return false;" title="Show Tube Info"><img src="img/underground_20.png" alt="Tube"></a>
</div>
</div>
<div id="busInfo">
<div id="busInfo_inactive" style="width: auto;display:none;">
<a href="" onclick="tubeInfo.Hide();busInfo.Show();searchInfo.Hide();Info.Hide();Share.Hide();return false;" title="Show Buses Info"><img src="img/buses.png" alt="Buses"></a>
</div>
<div id="busInfo_active" style="width: 40px;display:inline;font-family: sans-serif;display:none;">
Bus Route
<input id="route" name="route" style="display:inline;text-transform:uppercase;width:40px;display:none;" onfocus="this.value='';this.style.backgroundColor = 'white';">
<a href="" onclick="busInfo.Hide();return false;" title="Hide Buses Info"><img src="img/buses.png" alt="Buses"></a>
</div>
</div>
<div id="ShowingCam" style="display:inline;font-family:'Roboto','sans-serif';padding-left:5px;display:none;">
<a href="#" id="sCam" title="Hide JamCams" onclick="setOpacity(cams, true);return false;"><img id="cameras" class="resize" src="img/cams.png" style="opacity: 1;" alt="JamCams"></a><span style="font-size:16px;"><strong><div style="display:inline;font-family:arial;font-size:16px;" id="camCount">0</div></strong></span>
</div>
<div id="ShowingInc" style="display:inline;font-family:'Roboto','sans-serif';padding-left:5px;display:none;">
<a href="#" id="sInc" title="Hide Incidents" onclick="setOpacity(incidents, true);return false;"><img id="incidents" class="resize" src="img/incidents.png" style="opacity: 1;" alt="Incidents"></a><span style="font-size:16px;"><strong><div style="display:inline;font-family:arial;font-size:16px;" id="incCount">0</div></strong></span>
</div>
<div id="ShowingTraffic" style="display:inline;font-family:'Roboto','sans-serif';padding-left:5px;display:none;">
<a href="#" id="sTraffic" title="Hide Traffic" onclick="setOpacity(traffic, true);return false"><img id="traffic" class="resize" src="img/traffic.png" style="opacity: 1;" alt="Traffic"></a><span style="font-size:16px;"><strong><div style="display:inline;font-family:arial;font-size:16px;" id="trafficStatus"></div></strong></span>
</div>
<a href="" class="fa fa-ellipsis-h" onclick="camInfo.Hide();return false" title="Hide Marker Viewport Info"></a>
</div>
</div>
<div id="Share" style="display:block;z-index:500;">
<!--style="display:block;z-index:500;"-->
<div id="Share_inactive">
<a href="" class="fa fa-share-alt" onclick="Share.Show();Info.Hide();return false" title="Share"></a>
</div>
<div id="Share_active">
<a href="" class="fa fa-share-alt" onclick="Share.Hide();return false" title="Hide Share Panel"></a>
<a href="https://www.facebook.com/sharer/sharer.php?u=https%3A//www.tfljamcams.net/" onclick="javascript:window.open(this.href,'','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false" class="fa fa-facebook" title="Share on Facebook"></a>
<a href="https://twitter.com/home?status=Check%20https://twitter.com/tfljamcams%20for%20up-to-date%20traffic%20jamcam%20image/video%20feeds%20and%20Live%20traffic%20incidents.%20Fast%20and%20ad-free,%20no%20app%20required!" onclick="javascript:window.open(this.href,'','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false" class="fa fa-twitter" title="Share on Twitter"></a>
<a href="https://www.linkedin.com/shareArticle?mini=true&url=https%3A//www.tfljamcams.net/&title=London%20Traffic%20Cameras%20-%20Live%20TfL%20JamCam%20Feeds&summary=Live%20London%20Traffic%20JamCam%20Map%20with%20Live%20traffic%20incidents%20-%20900%2B%20TfL%20image/video%20feeds%20with%20Traffic%20Layer.%20HTML5,%20ad-free%20and%20fast!&source=TfLJamCams.net" onclick="javascript:window.open(this.href,'','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false" class="fa fa-linkedin-square" title="Share on LinkedIn"></a>
<a class="fa fa-tumblr" href="https://tumblr.com/widgets/share/tool?canonicalUrl=https://www.tfljamcams.net" onclick="javascript:window.open(this.href,'','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false" title="Share on Tumblr"></a>
<a class="fa fa-reddit" href="https://www.reddit.com/submit?url=https%3A//www.tfljamcams.net/" title="Share on Reddit">
</a>
</div>
</div>
<div id="disclaimer-panel" style="display:block;z-index:500;">
<div id="Acknowledgement_inactive">
<a href="" class="fa fa-info" style="margin-left:5px;margin-right:5px;" onclick="Info.Show();Share.Hide();return false" title="More Information"></a>
</div>
<div id="Acknowledgement_active">
<span><img class="resize" src="img/cams.png" style="opacity: 1;" alt="JamCams"> Design by <a href="https://www.brooksy.net" target="_blank" title="Developer Website">Jason Brooks</a>, report a problem <a href="https://www.tfljamcams.net/contact/" onclick="javascript:window.open(this.href,'','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=520');return false" title="Report a map problem">here</a>.<br />
This site is not affiliated with Transport for London.<br />
Map Data <a href="https://policies.google.com/privacy" target="_blank" title="View Google Privacy Policy">©Google</a><br />
Live TfL Feeds Powered by <a href="https://tfl.gov.uk/info-for/open-data-users/" target="_blank" title="TfL Open Data">©TfL Open Data</a>.<br />
BR Station Feeds Powered by <a href="https://www.nationalrail.co.uk/" target="_blank" title="National Rail Enquiries">National Rail Enquiries</a>.<br />
<a href="util/listCams.php?jb=476" target="_blank" title="View Camera List">JamCam List</a> |
<a href="http://archive.tfljamcams.net" target="_blank">JamCams 30 Day Archive</a><br />
<a href="" class="fa fa-info" style="margin-left:5px;" onclick="Info.Hide();return false" title="Hide Information Panel"></a>
<a href="contact/privacypolicy.html" onclick="javascript:window.open(this.href,'','menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=520');return false" title="View Cookie and Privacy Policy">View Privacy and Cookie Policy</a></span>
</div>
</div>
<div id="map"></div>
<!--<div id="GEO" class='ui-button'>
<a href='#' title="Center map on your location" id='geolocate' class="fa fa-crosshairs" style="color:#000000;"></a>
</div>-->
<script>
if(window.location.protocol=='https:'){
var div = document.createElement('div');
div.innerHTML = "<a href='#' title=\"Center map on your location\" id='geolocate' class=\"fa fa-crosshairs\" style=\"color:#000000;\"></a>";
// set style
// better to use CSS though - just set class
div.setAttribute('class', 'ui-button'); // and make sure myclass has some styles in css
document.body.appendChild(div);
}else{
var div = document.createElement('div');
div.innerHTML = "<a href='#' title=\"Load secure page\" id='gosecure' class=\"fa fa-lock\" style=\"color:#000000;\"></a>";
// set style
// better to use CSS though - just set class
div.setAttribute('class', 'ui-button'); // and make sure myclass has some styles in css
document.body.appendChild(div);
}
var map= null;
var markers = new Array();
var type;
var refreshInterval;
var local_location;
var myLocation;
var camsArray = [],incidentArray=[],busMarkersArray = [], loc_markers = [];
//$(document).ready(function () {
window.recaptchaCallback = undefined;
jQuery(document).ready(function($) {
window.recaptchaCallback = function recaptchaCallback(response) {
$.ajax({
method: "POST",
url: "https://www.tfljamcams.net/util/captcha.php",
data: { 'g-recaptcha-response': response },
})
.done(function(msg) {
/*console.log(msg);*/
console.log('Search captcha confirmed!');
/*document.getElementById('captcha').style.display='none';
var i=document.getElementById('searchInfo');i.style.width='auto';
document.getElementById('searchInfo_inactive').style.display='none';
document.getElementById('searchInfo_active').style.display='inline';
document.getElementById('q').focus();
document.getElementById('camInfo_active').style.display='none';*/
document.getElementById('captcha').style.display='none';
document.getElementById('searchInfo_inactive').style.display='none';
document.getElementById('searchInfo').style.display='none';
document.getElementById('busInfo').style.display='none';
document.getElementById('tubeInfo').style.display='none';
document.getElementById('searchInfo_active').style.display='inline';
document.getElementById('q').focus();
document.getElementById('camInfo_active').style.display='none';
document.getElementById('camInfo').style.width='260px';
document.getElementById('camInfo').style.display='block';
})
.fail(function(jqXHR, textStatus) {
console.log(textStatus);
});
}
});
String.prototype.capitalize = function() {
return this.charAt(0).toUpperCase() + this.slice(1);
}
var trainStations = [{commonName:"Abbey Wood",modes: ["RailStation"],lat:51.4907841,lon:0.12027197,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"ABW"},{commonName:"Acton Central",modes: ["RailStation"],lat:51.50875778,lon:-0.263430199,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"ACC"},{commonName:"Acton Main Line",modes: ["RailStation"],lat:51.51688693,lon:-0.267689952,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"AML"},{commonName:"Albany Park",modes: ["RailStation"],lat:51.43581561,lon:0.126444638,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"AYP"},{commonName:"Alexandra Palace",modes: ["RailStation"],lat:51.59826282,lon:-0.120148972,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"AAP"},{commonName:"Amersham",modes: ["RailStation"],lat:51.67412932,lon:-0.606513789,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"AMR"},{commonName:"Anerley",modes: ["RailStation"],lat:51.41251672,lon:-0.0651371,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"ANZ"},{commonName:"Angel Road",modes: ["RailStation"],lat:51.61242032,lon:-0.048732919,line:"Greater Anglia",stopType:"RailStation",additionalProperties:[],naptanId:"AGR"},{commonName:"Balham",modes: ["RailStation"],lat:51.44318256,lon:-0.152685163,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"BAL"},{commonName:"Banstead",modes: ["RailStation"],lat:51.32929312,lon:-0.213132336,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"BAD"},{commonName:"Barking",modes: ["RailStation"],lat:51.53952111,lon:0.08083161,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"BKG"},{commonName:"Barnehurst",modes: ["RailStation"],lat:51.46478029,lon:0.160948022,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"BNH"},{commonName:"Barnes",modes: ["RailStation"],lat:51.46712777,lon:-0.242033062,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"BNS"},{commonName:"Barnes Bridge",modes: ["RailStation"],lat:51.47222805,lon:-0.252362617,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"BNI"},{commonName:"Battersea Park",modes: ["RailStation"],lat:51.47731832,lon:-0.148123762,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"BAK"},{commonName:"Beckenham Hill",modes: ["RailStation"],lat:51.42462606,lon:-0.016495762,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"BEC"},{commonName:"Beckenham Junction",modes: ["RailStation"],lat:51.41094164,lon:-0.025701739,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"BKJ"},{commonName:"Bellingham",modes: ["RailStation"],lat:51.43386489,lon:-0.02041177,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"BGM"},{commonName:"Belmont",modes: ["RailStation"],lat:51.34411992,lon:-0.199489253,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"BLM"},{commonName:"Belvedere",modes: ["RailStation"],lat:51.491959,lon:0.152033792,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"BVD"},{commonName:"Berrylands",modes: ["RailStation"],lat:51.39876841,lon:-0.280321477,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"BRS"},{commonName:"Bethnal Green",modes: ["RailStation"],lat:51.52719174,lon:-0.055392112,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"BET"},{commonName:"Bethnal Green",modes: ["RailStation"],lat:51.52428274,lon:-0.060013743,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"BET"},{commonName:"Bexley",modes: ["RailStation"],lat:51.44081453,lon:0.148203913,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"BXY"},{commonName:"Bexleyheath",modes: ["RailStation"],lat:51.46354996,lon:0.133362965,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"BXH"},{commonName:"Bickley",modes: ["RailStation"],lat:51.40037957,lon:0.044304032,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"BKL"},{commonName:"Birkbeck",modes: ["RailStation"],lat:51.40386309,lon:-0.056286236,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"BIK"},{commonName:"Blackfriars",modes: ["RailStation"],lat:51.51158693,lon:-0.102995385,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"BFR"},{commonName:"Blackheath",modes: ["RailStation"],lat:51.46540801,lon:0.008336595,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"BKH"},{commonName:"Blackhorse Road",modes: ["RailStation"],lat:51.58577663,lon:-0.039625712,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"BHO"},{commonName:"Bowes Park",modes: ["RailStation"],lat:51.60724951,lon:-0.119792219,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"BOP"},{commonName:"Brentford",modes: ["RailStation"],lat:51.48753631,lon:-0.309622537,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"BFD"},{commonName:"Brentwood",modes: ["RailStation"],lat:51.61361034,lon:0.299672816,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"BRE"},{commonName:"Brimsdown",modes: ["RailStation"],lat:51.65524461,lon:-0.031092277,line:"Greater Anglia",stopType:"RailStation",additionalProperties:[],naptanId:"BMD"},{commonName:"Brixton",modes: ["RailStation"],lat:51.4627368,lon:-0.114552098,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"BRX"},{commonName:"Brockley",modes: ["RailStation"],lat:51.46474966,lon:-0.037748251,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"BCY"},{commonName:"Bromley North",modes: ["RailStation"],lat:51.40894231,lon:0.017235452,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"BMN"},{commonName:"Bromley South",modes: ["RailStation"],lat:51.40000129,lon:0.01735958,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"BMS"},{commonName:"Brondesbury",modes: ["RailStation"],lat:51.54526236,lon:-0.202838486,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"BSY"},{commonName:"Brondesbury Park",modes: ["RailStation"],lat:51.54032537,lon:-0.210473947,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"BSP"},{commonName:"Broxbourne",modes: ["RailStation"],lat:51.74701557,lon:-0.011024084,line:"Greater Anglia",stopType:"RailStation",additionalProperties:[],naptanId:"BXB"},{commonName:"Bruce Grove",modes: ["RailStation"],lat:51.59401125,lon:-0.07039899,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"BCV"},{commonName:"Bush Hill Park",modes: ["RailStation"],lat:51.64148196,lon:-0.069280413,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"BHK"},{commonName:"Bushey",modes: ["RailStation"],lat:51.64554416,lon:-0.384721541,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"BSH"},{commonName:"Caledonian Road & Barnsbury",modes: ["RailStation"],lat:51.54328458,lon:-0.115204857,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"CIR"},{commonName:"Cambridge Heath",modes: ["RailStation"],lat:51.53205976,lon:-0.057203201,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"CBH"},{commonName:"Camden Road",modes: ["RailStation"],lat:51.54185123,lon:-0.139203113,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"CMD"},{commonName:"Canada Water",modes: ["RailStation"],lat:51.49816841,lon:-0.050807121,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"ZCW"},{commonName:"Cannon Street",modes: ["RailStation"],lat:51.51136209,lon:-0.090250527,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"CST"},{commonName:"Canonbury",modes: ["RailStation"],lat:51.54818839,lon:-0.092574196,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"CNN"},{commonName:"Carpenders Park",modes: ["RailStation"],lat:51.62818672,lon:-0.385829324,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"CPK"},{commonName:"Carshalton",modes: ["RailStation"],lat:51.36842637,lon:-0.166398328,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"CSH"},{commonName:"Carshalton Beeches",modes: ["RailStation"],lat:51.35738684,lon:-0.169496326,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"CSB"},{commonName:"Castle Bar Park",modes: ["RailStation"],lat:51.52297367,lon:-0.331504076,line:"Great Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"CBP"},{commonName:"Caterham",modes: ["RailStation"],lat:51.28216282,lon:-0.078607299,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"CAT"},{commonName:"Catford",modes: ["RailStation"],lat:51.44426491,lon:-0.026538499,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"CTF"},{commonName:"Catford Bridge",modes: ["RailStation"],lat:51.44469463,lon:-0.024821876,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"CFB"},{commonName:"Chadwell Heath",modes: ["RailStation"],lat:51.56804688,lon:0.128901112,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"CTH"},{commonName:"Chalfont & Latimer",modes: ["RailStation"],lat:51.66790748,lon:-0.561067777,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"CFO"},{commonName:"Charing Cross",modes: ["RailStation"],lat:51.50835863,lon:-0.124802938,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"CHX"},{commonName:"Charlton",modes: ["RailStation"],lat:51.48683499,lon:0.030941645,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"CTN"},{commonName:"Cheam",modes: ["RailStation"],lat:51.35546024,lon:-0.214211284,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"CHE"},{commonName:"Chelsfield",modes: ["RailStation"],lat:51.35626458,lon:0.10898412,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"CLD"},{commonName:"Cheshunt",modes: ["RailStation"],lat:51.70287331,lon:-0.023887415,line:"Greater Anglia",stopType:"RailStation",additionalProperties:[],naptanId:"CHN"},{commonName:"Chessington North",modes: ["RailStation"],lat:51.36424344,lon:-0.300476129,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"CSN"},{commonName:"Chessington South",modes: ["RailStation"],lat:51.35670453,lon:-0.307089021,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"CSS"},{commonName:"Chingford",modes: ["RailStation"],lat:51.63325337,lon:0.009514326,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"CHI"},{commonName:"Chipstead",modes: ["RailStation"],lat:51.30927498,lon:-0.169445869,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"CHP"},{commonName:"Chislehurst",modes: ["RailStation"],lat:51.40559841,lon:0.057491821,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"CIT"},{commonName:"Chiswick",modes: ["RailStation"],lat:51.48078149,lon:-0.267013322,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"CHK"},{commonName:"Chorleywood",modes: ["RailStation"],lat:51.65426593,lon:-0.518333927,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"CLW"},{commonName:"City Thameslink",modes: ["RailStation"],lat:51.51393507,lon:-0.103618449,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"CTK"},{commonName:"Clapham High Street",modes: ["RailStation"],lat:51.46546951,lon:-0.132464503,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"CLP"},{commonName:"Clapham Junction",modes: ["RailStation"],lat:51.46436678,lon:-0.170315002,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"CLJ"},{commonName:"Clapton",modes: ["RailStation"],lat:51.56156909,lon:-0.057489458,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"CPT"},{commonName:"Clock House",modes: ["RailStation"],lat:51.40854056,lon:-0.040702093,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"CLK"},{commonName:"Coulsdon South",modes: ["RailStation"],lat:51.31580094,lon:-0.13790309,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"CDS"},{commonName:"Coulsdon Town",modes: ["RailStation"],lat:51.32245295,lon:-0.134347057,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"CDN"},{commonName:"Crayford",modes: ["RailStation"],lat:51.44854676,lon:0.178502716,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"CRY"},{commonName:"Crews Hill",modes: ["RailStation"],lat:51.68447461,lon:-0.106844101,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"CWH"},{commonName:"Cricklewood",modes: ["RailStation"],lat:51.55842267,lon:-0.212547934,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"CRI"},{commonName:"Crofton Park",modes: ["RailStation"],lat:51.45517929,lon:-0.036546582,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"CFT"},{commonName:"Crouch Hill",modes: ["RailStation"],lat:51.5713271,lon:-0.117133285,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"CRH"},{commonName:"Crystal Palace",modes: ["RailStation"],lat:51.41817035,lon:-0.072607233,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"CYP"},{commonName:"Dagenham Dock",modes: ["RailStation"],lat:51.5262872,lon:0.145031014,line:"c2c",stopType:"RailStation",additionalProperties:[],naptanId:"DDK"},{commonName:"Dalston Junction",modes: ["RailStation"],lat:51.54609372,lon:-0.074994205,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"DLJ"},{commonName:"Dalston Kingsland",modes: ["RailStation"],lat:51.54866782,lon:-0.076226922,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"DLK"},{commonName:"Denmark Hill",modes: ["RailStation"],lat:51.46820064,lon:-0.09098787,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"DMK"},{commonName:"Deptford",modes: ["RailStation"],lat:51.47889008,lon:-0.02619632,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"DEP"},{commonName:"Drayton Green",modes: ["RailStation"],lat:51.51600468,lon:-0.32961126,line:"Great Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"DRG"},{commonName:"Drayton Park",modes: ["RailStation"],lat:51.55307831,lon:-0.1057702,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"DYP"},{commonName:"Ealing Broadway",modes: ["RailStation"],lat:51.51486197,lon:-0.302010381,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"EAL"},{commonName:"Earlsfield",modes: ["RailStation"],lat:51.44223881,lon:-0.187272689,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"EAD"},{commonName:"East Croydon",modes: ["RailStation"],lat:51.3757161,lon:-0.091863496,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"ECR"},{commonName:"East Dulwich",modes: ["RailStation"],lat:51.46162558,lon:-0.080436572,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"EDW"},{commonName:"Eden Park",modes: ["RailStation"],lat:51.3907961,lon:-0.026669716,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"EDN"},{commonName:"Edmonton Green",modes: ["RailStation"],lat:51.6251157,lon:-0.061639019,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"EDR"},{commonName:"Elephant & Castle",modes: ["RailStation"],lat:51.49584938,lon:-0.100738715,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"EPH"},{commonName:"Elmers End",modes: ["RailStation"],lat:51.39829111,lon:-0.049463832,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"ELE"},{commonName:"Elmstead Woods",modes: ["RailStation"],lat:51.41708063,lon:0.044229343,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"ESD"},{commonName:"Elstree & Borehamwood",modes: ["RailStation"],lat:51.65287558,lon:-0.279828619,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"ELS"},{commonName:"Eltham",modes: ["RailStation"],lat:51.45566222,lon:0.052329308,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"ELW"},{commonName:"Emerson Park",modes: ["RailStation"],lat:51.56911491,lon:0.220222934,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"EMP"},{commonName:"Enfield Chase",modes: ["RailStation"],lat:51.65272211,lon:-0.090704205,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"ENC"},{commonName:"Enfield Lock",modes: ["RailStation"],lat:51.67084612,lon:-0.02839107,line:"Greater Anglia",stopType:"RailStation",additionalProperties:[],naptanId:"ENL"},{commonName:"Enfield Town",modes: ["RailStation"],lat:51.65197007,lon:-0.079329922,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"ENF"},{commonName:"Epsom Downs",modes: ["RailStation"],lat:51.32365944,lon:-0.238970227,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"EPD"},{commonName:"Erith",modes: ["RailStation"],lat:51.48164768,lon:0.174261289,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"ERH"},{commonName:"Essex Road",modes: ["RailStation"],lat:51.54063331,lon:-0.096365526,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"EXR"},{commonName:"Euston",modes: ["RailStation"],lat:51.52866433,lon:-0.133296472,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"EUS"},{commonName:"Ewell East",modes: ["RailStation"],lat:51.34524388,lon:-0.241503001,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"EWE"},{commonName:"Ewell West",modes: ["RailStation"],lat:51.34999114,lon:-0.257089133,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"EWW"},{commonName:"Falconwood",modes: ["RailStation"],lat:51.4590858,lon:0.078509693,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"FCN"},{commonName:"Farringdon",modes: ["RailStation"],lat:51.52019569,lon:-0.104843062,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"ZFD"},{commonName:"Feltham",modes: ["RailStation"],lat:51.44787917,lon:-0.409824481,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"FEL"},{commonName:"Fenchurch Street",modes: ["RailStation"],lat:51.51156671,lon:-0.078554153,line:"c2c",stopType:"RailStation",additionalProperties:[],naptanId:"FST"},{commonName:"Finchley Road & Frognal",modes: ["RailStation"],lat:51.5501195,lon:-0.183651203,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"FNY"},{commonName:"Finsbury Park",modes: ["RailStation"],lat:51.56463545,lon:-0.105881486,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"FPK"},{commonName:"Forest Gate",modes: ["RailStation"],lat:51.54931612,lon:0.024189092,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"FOG"},{commonName:"Forest Hill",modes: ["RailStation"],lat:51.43930831,lon:-0.053328504,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"FOH"},{commonName:"Fulwell",modes: ["RailStation"],lat:51.43394257,lon:-0.349438525,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"FLW"},{commonName:"Gidea Park",modes: ["RailStation"],lat:51.58186575,lon:0.205976981,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"GDP"},{commonName:"Gipsy Hill",modes: ["RailStation"],lat:51.42446952,lon:-0.083835168,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"GIP"},{commonName:"Goodmayes",modes: ["RailStation"],lat:51.56618098,lon:0.111729654,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"GMY"},{commonName:"Gordon Hill",modes: ["RailStation"],lat:51.66350224,lon:-0.0944733,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"GDH"},{commonName:"Gospel Oak",modes: ["RailStation"],lat:51.55540529,lon:-0.151301033,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"GPO"},{commonName:"Grange Park",modes: ["RailStation"],lat:51.64262308,lon:-0.097314424,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"GPK"},{commonName:"Greenford",modes: ["RailStation"],lat:51.54198007,lon:-0.34587874,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"GFD"},{commonName:"Greenwich",modes: ["RailStation"],lat:51.47754766,lon:-0.014863084,line:"DLR",stopType:"RailStation",additionalProperties:[],naptanId:"GNW"},{commonName:"Grove Park",modes: ["RailStation"],lat:51.43043264,lon:0.022598502,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"GRP"},{commonName:"Gunnersbury",modes: ["RailStation"],lat:51.49186341,lon:-0.275164136,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"GUN"},{commonName:"Hackbridge",modes: ["RailStation"],lat:51.3778609,lon:-0.153879198,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"HCB"},{commonName:"Hackney Central",modes: ["RailStation"],lat:51.54725744,lon:-0.055589512,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"HKC"},{commonName:"Hackney Downs",modes: ["RailStation"],lat:51.54907809,lon:-0.060185105,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"HAC"},{commonName:"Hackney Wick",modes: ["RailStation"],lat:51.54355841,lon:-0.025259503,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"HKW"},{commonName:"Hadley Wood",modes: ["RailStation"],lat:51.66840287,lon:-0.17658119,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"HDW"},{commonName:"Haggerston",modes: ["RailStation"],lat:51.53868473,lon:-0.075595258,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"HGG"},{commonName:"Hampstead Heath",modes: ["RailStation"],lat:51.55519992,lon:-0.164566183,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"HDH"},{commonName:"Hampton",modes: ["RailStation"],lat:51.41587955,lon:-0.372135254,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"HMP"},{commonName:"Hampton Court",modes: ["RailStation"],lat:51.40229388,lon:-0.342757152,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"HMC"},{commonName:"Hampton Wick",modes: ["RailStation"],lat:51.41464004,lon:-0.31310361,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"HMW"},{commonName:"Hanwell",modes: ["RailStation"],lat:51.51218596,lon:-0.338051884,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"HAN"},{commonName:"Harlesden",modes: ["RailStation"],lat:51.53625833,lon:-0.257495674,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"HDN"},{commonName:"Harold Wood",modes: ["RailStation"],lat:51.59320222,lon:0.234204073,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"HRO"},{commonName:"Harringay",modes: ["RailStation"],lat:51.57735791,lon:-0.105208253,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"HGY"},{commonName:"Harringay Green Lanes",modes: ["RailStation"],lat:51.57714589,lon:-0.098217392,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"HRY"},{commonName:"Harrow & Wealdstone",modes: ["RailStation"],lat:51.59259463,lon:-0.334252685,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"HRW"},{commonName:"Harrow-on-the-Hill",modes: ["RailStation"],lat:51.57938812,lon:-0.337001517,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"HOH"},{commonName:"Hatch End",modes: ["RailStation"],lat:51.6098285,lon:-0.369178781,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"HTE"},{commonName:"Haydons Road",modes: ["RailStation"],lat:51.42545732,lon:-0.188929359,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"HYR"},{commonName:"Hayes (Kent)",modes: ["RailStation"],lat:51.37573671,lon:0.010142652,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"HYS"},{commonName:"Hayes & Harlington",modes: ["RailStation"],lat:51.50304907,lon:-0.420641904,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"HAY"},{commonName:"Headstone Lane",modes: ["RailStation"],lat:51.60249963,lon:-0.356907514,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"HDL"},{commonName:"Heathrow Terminal 4",modes: ["RailStation"],lat:51.45978043,lon:-0.44772959,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"HAF"},{commonName:"Heathrow Terminal 5",modes: ["RailStation"],lat:51.47002543,lon:-0.490647503,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"HWV"},{commonName:"Hendon",modes: ["RailStation"],lat:51.58007498,lon:-0.238630521,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"HEN"},{commonName:"Herne Hill",modes: ["RailStation"],lat:51.45399137,lon:-0.102562908,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"HNH"},{commonName:"Highams Park",modes: ["RailStation"],lat:51.60835599,lon:-0.000135286,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"HIP"},{commonName:"Highbury & Islington",modes: ["RailStation"],lat:51.54649551,lon:-0.10408214,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"HHY"},{commonName:"Hither Green",modes: ["RailStation"],lat:51.45240172,lon:-0.000970912,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"HGR"},{commonName:"Homerton",modes: ["RailStation"],lat:51.54659545,lon:-0.038512347,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"HMN"},{commonName:"Honor Oak Park",modes: ["RailStation"],lat:51.45064824,lon:-0.044153121,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"HPA"},{commonName:"Hornsey",modes: ["RailStation"],lat:51.58647485,lon:-0.111815638,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"HRN"},{commonName:"Hounslow",modes: ["RailStation"],lat:51.46250482,lon:-0.361796256,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"HOU"},{commonName:"Hoxton",modes: ["RailStation"],lat:51.53139161,lon:-0.075585647,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"HOX"},{commonName:"Ilford",modes: ["RailStation"],lat:51.55914224,lon:0.068685191,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"IFD"},{commonName:"Imperial Wharf",modes: ["RailStation"],lat:51.47493893,lon:-0.182837505,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"IMW"},{commonName:"Isleworth",modes: ["RailStation"],lat:51.47503742,lon:-0.337328765,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"ISL"},{commonName:"Kenley",modes: ["RailStation"],lat:51.32460031,lon:-0.101219713,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"KLY"},{commonName:"Kensal Green",modes: ["RailStation"],lat:51.53052421,lon:-0.224713384,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"KNL"},{commonName:"Kensal Rise",modes: ["RailStation"],lat:51.53421506,lon:-0.220820979,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"KNR"},{commonName:"Kensington (Olympia)",modes: ["RailStation"],lat:51.4978797,lon:-0.210379242,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"KPA"},{commonName:"Kent House",modes: ["RailStation"],lat:51.41271766,lon:-0.045815553,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"KTH"},{commonName:"Kentish Town",modes: ["RailStation"],lat:51.55000952,lon:-0.140471264,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"KTN"},{commonName:"Kentish Town West",modes: ["RailStation"],lat:51.54654797,lon:-0.14675641,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"KTW"},{commonName:"Kenton",modes: ["RailStation"],lat:51.58149628,lon:-0.315216867,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"KNT"},{commonName:"Kew Bridge",modes: ["RailStation"],lat:51.49000462,lon:-0.288846495,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"KWB"},{commonName:"Kew Gardens",modes: ["RailStation"],lat:51.47678914,lon:-0.285381011,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"KWG"},{commonName:"Kidbrooke",modes: ["RailStation"],lat:51.46269019,lon:0.028300239,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"KDB"},{commonName:"Kilburn High Road",modes: ["RailStation"],lat:51.53726774,lon:-0.191113106,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"KBN"},{commonName:"Kings Cross",modes: ["RailStation"],lat:51.53079819,lon:-0.122756421,line:"Network Rail",stopType:"RailStation",additionalProperties:[],naptanId:"KGX"},{commonName:"Kingston",modes: ["RailStation"],lat:51.41264176,lon:-0.30114104,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"KNG"},{commonName:"Kingswood",modes: ["RailStation"],lat:51.29472314,lon:-0.211233226,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"KND"},{commonName:"Knockholt",modes: ["RailStation"],lat:51.34575194,lon:0.130831039,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"KCK"},{commonName:"Ladywell",modes: ["RailStation"],lat:51.45619214,lon:-0.019244401,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"LAD"},{commonName:"Lea Bridge",modes: ["RailStation"],lat:51.56663626,lon:-0.036683158,line:"Greater Anglia",stopType:"RailStation",additionalProperties:[],naptanId:"LEB"},{commonName:"Lee",modes: ["RailStation"],lat:51.44945852,lon:0.013364692,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"LEE"},{commonName:"Lewisham",modes: ["RailStation"],lat:51.46488071,lon:-0.012432701,line:"DLR",stopType:"RailStation",additionalProperties:[],naptanId:"LEW"},{commonName:"Leyton Midland Road",modes: ["RailStation"],lat:51.56936424,lon:-0.008066347,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"LEM"},{commonName:"Leytonstone High Road",modes: ["RailStation"],lat:51.56380734,lon:0.008254469,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"LER"},{commonName:"Limehouse",modes: ["RailStation"],lat:51.51231216,lon:-0.039380078,line:"DLR",stopType:"RailStation",additionalProperties:[],naptanId:"LHS"},{commonName:"Liverpool Street",modes: ["RailStation"],lat:51.51759826,lon:-0.082249622,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"LST"},{commonName:"London Bridge",modes: ["RailStation"],lat:51.50467435,lon:-0.086005598,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"LBG"},{commonName:"London Fields",modes: ["RailStation"],lat:51.54071884,lon:-0.057699686,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"LOF"},{commonName:"Loughborough Junction",modes: ["RailStation"],lat:51.4666789,lon:-0.102497342,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"LGJ"},{commonName:"Lower Sydenham",modes: ["RailStation"],lat:51.42484684,lon:-0.033330342,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"LSY"},{commonName:"Malden Manor",modes: ["RailStation"],lat:51.38460954,lon:-0.261120416,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"MAL"},{commonName:"Manor Park",modes: ["RailStation"],lat:51.55285435,lon:0.04572387,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"MNP"},{commonName:"Maryland",modes: ["RailStation"],lat:51.54566827,lon:0.005681654,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"MYL"},{commonName:"Marylebone",modes: ["RailStation"],lat:51.52239667,lon:-0.163492564,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"MYB"},{commonName:"Maze Hill",modes: ["RailStation"],lat:51.48301366,lon:0.003204897,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"MZH"},{commonName:"Mill Hill Broadway",modes: ["RailStation"],lat:51.61287113,lon:-0.249537068,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"MIL"},{commonName:"Mitcham Eastfields",modes: ["RailStation"],lat:51.40838391,lon:-0.154001719,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"MTC"},{commonName:"Mitcham Junction",modes: ["RailStation"],lat:51.39304257,lon:-0.157436644,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"MIJ"},{commonName:"Moorgate",modes: ["RailStation"],lat:51.51843714,lon:-0.089017688,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"MOG"},{commonName:"Morden South",modes: ["RailStation"],lat:51.3963077,lon:-0.200301562,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"MDS"},{commonName:"Mortlake",modes: ["RailStation"],lat:51.46816794,lon:-0.267203314,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"MTL"},{commonName:"Motspur Park",modes: ["RailStation"],lat:51.39531963,lon:-0.239439746,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"MOT"},{commonName:"Mottingham",modes: ["RailStation"],lat:51.43982498,lon:0.050324202,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"MTG"},{commonName:"New Barnet",modes: ["RailStation"],lat:51.64853677,lon:-0.172969714,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"NBA"},{commonName:"New Beckenham",modes: ["RailStation"],lat:51.41670555,lon:-0.035304949,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"NBC"},{commonName:"New Cross",modes: ["RailStation"],lat:51.47642942,lon:-0.032278812,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"NWX"},{commonName:"New Cross Gate",modes: ["RailStation"],lat:51.47526493,lon:-0.039529052,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"NXG"},{commonName:"New Eltham",modes: ["RailStation"],lat:51.43769066,lon:0.070444618,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"NEH"},{commonName:"New Malden",modes: ["RailStation"],lat:51.40355591,lon:-0.256218106,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"NEM"},{commonName:"New Southgate",modes: ["RailStation"],lat:51.61409367,lon:-0.143009776,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"NSG"},{commonName:"Norbiton",modes: ["RailStation"],lat:51.41190935,lon:-0.284199948,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"NBT"},{commonName:"Norbury",modes: ["RailStation"],lat:51.4111885,lon:-0.122799402,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"NRB"},{commonName:"North Dulwich",modes: ["RailStation"],lat:51.45448181,lon:-0.087918681,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"NDL"},{commonName:"North Sheen",modes: ["RailStation"],lat:51.46541961,lon:-0.286397467,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"NSH"},{commonName:"North Wembley",modes: ["RailStation"],lat:51.56239629,lon:-0.303948219,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"NWB"},{commonName:"Northolt Park",modes: ["RailStation"],lat:51.55761905,lon:-0.359434196,line:"Chiltern Railways",stopType:"RailStation",additionalProperties:[],naptanId:"NLT"},{commonName:"Northumberland Park",modes: ["RailStation"],lat:51.60201573,lon:-0.054132026,line:"Greater Anglia",stopType:"RailStation",additionalProperties:[],naptanId:"NUM"},{commonName:"Norwood Junction",modes: ["RailStation"],lat:51.39695432,lon:-0.075209857,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"NWD"},{commonName:"Nunhead",modes: ["RailStation"],lat:51.46657998,lon:-0.053679743,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"NHD"},{commonName:"Oakleigh Park",modes: ["RailStation"],lat:51.63767636,lon:-0.166194967,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"OKL"},{commonName:"Ockendon",modes: ["RailStation"],lat:51.52198965,lon:0.290483475,line:"c2c",stopType:"RailStation",additionalProperties:[],naptanId:"OCK"},{commonName:"Old Street",modes: ["RailStation"],lat:51.52558147,lon:-0.087622958,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"OLD"},{commonName:"Orpington",modes: ["RailStation"],lat:51.37352005,lon:0.089028901,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"ORP"},{commonName:"Paddington",modes: ["RailStation"],lat:51.51539379,lon:-0.175736752,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"PAD"},{commonName:"Palmers Green",modes: ["RailStation"],lat:51.61878675,lon:-0.1102725,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"PAL"},{commonName:"Peckham Rye",modes: ["RailStation"],lat:51.46951136,lon:-0.069983553,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"PMR"},{commonName:"Penge East",modes: ["RailStation"],lat:51.41997535,lon:-0.054495265,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"PNE"},{commonName:"Penge West",modes: ["RailStation"],lat:51.41806293,lon:-0.060645765,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"PNW"},{commonName:"Petts Wood",modes: ["RailStation"],lat:51.38859899,lon:0.07448003,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"PET"},{commonName:"Plumstead",modes: ["RailStation"],lat:51.48979242,lon:0.084299617,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"PLU"},{commonName:"Ponders End",modes: ["RailStation"],lat:51.64273069,lon:-0.034525105,line:"Greater Anglia",stopType:"RailStation",additionalProperties:[],naptanId:"PON"},{commonName:"Purfleet",modes: ["RailStation"],lat:51.48117301,lon:0.236774836,line:"c2c",stopType:"RailStation",additionalProperties:[],naptanId:"PFL"},{commonName:"Purley",modes: ["RailStation"],lat:51.33736355,lon:-0.113613518,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"PUR"},{commonName:"Purley Oaks",modes: ["RailStation"],lat:51.34698934,lon:-0.098815333,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"PUO"},{commonName:"Putney",modes: ["RailStation"],lat:51.46095253,lon:-0.216603374,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"PUT"},{commonName:"Queens Park",modes: ["RailStation"],lat:51.53431265,lon:-0.204798149,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"QPW"},{commonName:"Queens Road Peckham",modes: ["RailStation"],lat:51.47428471,lon:-0.057354979,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"QRP"},{commonName:"Queenstown Road",modes: ["RailStation"],lat:51.47495913,lon:-0.147355312,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"QRB"},{commonName:"Rainham",modes: ["RailStation"],lat:51.5167606179759,lon:0.190727815638525,line:"c2c",stopType:"RailStation",additionalProperties:[],naptanId:"RNM"},{commonName:"Ravensbourne",modes: ["RailStation"],lat:51.41387038,lon:-0.006937816,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"RVB"},{commonName:"Raynes Park",modes: ["RailStation"],lat:51.40937535,lon:-0.229912939,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"RAY"},{commonName:"Rectory Road",modes: ["RailStation"],lat:51.55876348,lon:-0.068385665,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"REC"},{commonName:"Reedham",modes: ["RailStation"],lat:51.33144171,lon:-0.123402624,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"RHM"},{commonName:"Richmond",modes: ["RailStation"],lat:51.46323289,lon:-0.301739134,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"RMD"},{commonName:"Rickmansworth",modes: ["RailStation"],lat:51.64032301,lon:-0.473684584,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"RIC"},{commonName:"Riddlesdown",modes: ["RailStation"],lat:51.33267483,lon:-0.099493667,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"RDD"},{commonName:"Romford",modes: ["RailStation"],lat:51.57464159,lon:0.183055272,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"RMF"},{commonName:"Rotherhithe",modes: ["RailStation"],lat:51.5015945,lon:-0.052966296,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"ROE"},{commonName:"Sanderstead",modes: ["RailStation"],lat:51.34824625,lon:-0.0937085,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"SNR"},{commonName:"Selhurst",modes: ["RailStation"],lat:51.39218577,lon:-0.089899037,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"SRS"},{commonName:"Seven Kings",modes: ["RailStation"],lat:51.56399335,lon:0.096319575,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"SVK"},{commonName:"Seven Sisters",modes: ["RailStation"],lat:51.58336216,lon:-0.072466823,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"SVS"},{commonName:"Shadwell",modes: ["RailStation"],lat:51.51130016,lon:-0.056919207,line:"DLR",stopType:"RailStation",additionalProperties:[],naptanId:"SDE"},{commonName:"Shenfield",modes: ["RailStation"],lat:51.6308731,lon:0.329952264,line:"Greater Anglia",stopType:"RailStation",additionalProperties:[],naptanId:"SNF"},{commonName:"Shepherds Bush",modes: ["RailStation"],lat:51.50453215,lon:-0.218519159,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"SPB"},{commonName:"Shoreditch High Street",modes: ["RailStation"],lat:51.52346682,lon:-0.077087425,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"SDC"},{commonName:"Shortlands",modes: ["RailStation"],lat:51.40560237,lon:0.002767544,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"SRT"},{commonName:"Sidcup",modes: ["RailStation"],lat:51.43439846,lon:0.103315359,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"SID"},{commonName:"Silver Street",modes: ["RailStation"],lat:51.61524248,lon:-0.072589742,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"SLV"},{commonName:"Slade Green",modes: ["RailStation"],lat:51.46774766,lon:0.190518388,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"SGR"},{commonName:"South Acton",modes: ["RailStation"],lat:51.49968583,lon:-0.270215208,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"SAT"},{commonName:"South Bermondsey",modes: ["RailStation"],lat:51.48767662,lon:-0.054754821,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"SBM"},{commonName:"South Croydon",modes: ["RailStation"],lat:51.3627502,lon:-0.092517363,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"SCY"},{commonName:"South Greenford",modes: ["RailStation"],lat:51.53402756,lon:-0.336737482,line:"Great Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"SGN"},{commonName:"South Hampstead",modes: ["RailStation"],lat:51.54147685,lon:-0.1783712,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"SOH"},{commonName:"South Kenton",modes: ["RailStation"],lat:51.57104445,lon:-0.308142977,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"SOK"},{commonName:"South Merton",modes: ["RailStation"],lat:51.40324056,lon:-0.205550301,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"SMO"},{commonName:"South Ruislip",modes: ["RailStation"],lat:51.5568903,lon:-0.39911591,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"SRU"},{commonName:"South Tottenham",modes: ["RailStation"],lat:51.58040259,lon:-0.071855957,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"STO"},{commonName:"Southall",modes: ["RailStation"],lat:51.50595691,lon:-0.37871119,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"STL"},{commonName:"Southbury",modes: ["RailStation"],lat:51.64843373,lon:-0.052983311,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"SBU"},{commonName:"St Helier",modes: ["RailStation"],lat:51.38991216,lon:-0.199014592,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"SIH"},{commonName:"St James Street",modes: ["RailStation"],lat:51.58060866,lon:-0.032804562,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"SJS"},{commonName:"St Johns",modes: ["RailStation"],lat:51.46897529,lon:-0.023240662,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"SAJ"},{commonName:"St Margarets",modes: ["RailStation"],lat:51.45520599,lon:-0.321324248,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"SMG"},{commonName:"St Mary Cray",modes: ["RailStation"],lat:51.39475941,lon:0.1072179,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"SMY"},{commonName:"St Pancras",modes: ["RailStation"],lat:51.5305544,lon:-0.125505782,line:"Network Rail/Eurostar",stopType:"RailStation",additionalProperties:[],naptanId:"STP"},{commonName:"Stamford Hill",modes: ["RailStation"],lat:51.5744476,lon:-0.076668342,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"SMH"},{commonName:"Stoke Newington",modes: ["RailStation"],lat:51.56463761,lon:-0.072335395,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"SKW"},{commonName:"Stonebridge Park",modes: ["RailStation"],lat:51.54398655,lon:-0.275400442,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"SBP"},{commonName:"Stoneleigh",modes: ["RailStation"],lat:51.36336405,lon:-0.248709657,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"SNL"},{commonName:"Stratford",modes: ["RailStation"],lat:51.54169258,lon:-0.003751641,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"SRA"},{commonName:"Stratford International",modes: ["RailStation"],lat:51.54480853,lon:-0.008778434,line:"DLR",stopType:"RailStation",additionalProperties:[],naptanId:"SFA"},{commonName:"Strawberry Hill",modes: ["RailStation"],lat:51.43974783,lon:-0.339617731,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"STW"},{commonName:"Streatham",modes: ["RailStation"],lat:51.42584586,lon:-0.132325497,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"STE"},{commonName:"Streatham Common",modes: ["RailStation"],lat:51.41898467,lon:-0.135726165,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"SRC"},{commonName:"Streatham Hill",modes: ["RailStation"],lat:51.43846037,lon:-0.127681481,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"SRH"},{commonName:"Sudbury & Harrow Road",modes: ["RailStation"],lat:51.55449378,lon:-0.315926242,line:"Chiltern Railways",stopType:"RailStation",additionalProperties:[],naptanId:"SUD"},{commonName:"Sudbury Hill Harrow",modes: ["RailStation"],lat:51.55834227,lon:-0.335446693,line:"Chiltern Railways",stopType:"RailStation",additionalProperties:[],naptanId:"SDH"},{commonName:"Sundridge Park",modes: ["RailStation"],lat:51.4133938,lon:0.020365109,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"SUP"},{commonName:"Surbiton",modes: ["RailStation"],lat:51.39259953,lon:-0.30438456,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"SUR"},{commonName:"Surrey Quays",modes: ["RailStation"],lat:51.49326686,lon:-0.047529988,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"SQE"},{commonName:"Sutton",modes: ["RailStation"],lat:51.35950614,lon:-0.191302011,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"SUO"},{commonName:"Sutton Common",modes: ["RailStation"],lat:51.37555469,lon:-0.196919912,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"SUC"},{commonName:"Sydenham",modes: ["RailStation"],lat:51.42734125,lon:-0.055088671,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"SYD"},{commonName:"Sydenham Hill",modes: ["RailStation"],lat:51.43257589,lon:-0.080230208,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"SYH"},{commonName:"Syon Lane",modes: ["RailStation"],lat:51.48147469,lon:-0.326495035,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"SYL"},{commonName:"Tadworth",modes: ["RailStation"],lat:51.29162786,lon:-0.236008016,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"TAD"},{commonName:"Tattenham Corner",modes: ["RailStation"],lat:51.30918131,lon:-0.242566273,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"TAT"},{commonName:"Teddington",modes: ["RailStation"],lat:51.4244975,lon:-0.332705337,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"TED"},{commonName:"Thames Ditton",modes: ["RailStation"],lat:51.38861607,lon:-0.338292838,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"THD"},{commonName:"Theobalds Grove",modes: ["RailStation"],lat:51.69237259,lon:-0.034748134,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"TEO"},{commonName:"Thornton Heath",modes: ["RailStation"],lat:51.39848108,lon:-0.100433165,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"TTH"},{commonName:"Tolworth",modes: ["RailStation"],lat:51.37684332,lon:-0.279620115,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"TOL"},{commonName:"Tooting",modes: ["RailStation"],lat:51.41989663,lon:-0.161002472,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"TOO"},{commonName:"Tottenham Hale",modes: ["RailStation"],lat:51.58799778,lon:-0.060187823,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"TOM"},{commonName:"Tulse Hill",modes: ["RailStation"],lat:51.43979743,lon:-0.105122509,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"TUH"},{commonName:"Turkey Street",modes: ["RailStation"],lat:51.67265366,lon:-0.047229931,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"TUR"},{commonName:"Twickenham",modes: ["RailStation"],lat:51.45025095,lon:-0.328860226,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"TWI"},{commonName:"Upminster",modes: ["RailStation"],lat:51.55876336,lon:0.251400801,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"UPM"},{commonName:"Upper Holloway",modes: ["RailStation"],lat:51.5636233,lon:-0.129109364,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"UHL"},{commonName:"Upper Warlingham",modes: ["RailStation"],lat:51.30877225,lon:-0.077481662,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"UWL"},{commonName:"Vauxhall",modes: ["RailStation"],lat:51.4857358,lon:-0.123829953,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"VXH"},{commonName:"Victoria",modes: ["RailStation"],lat:51.49642395,lon:-0.143920706,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"VIC"},{commonName:"Waddon",modes: ["RailStation"],lat:51.36737926,lon:-0.117394077,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"WDO"},{commonName:"Wallington",modes: ["RailStation"],lat:51.36033154,lon:-0.150863835,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"WLT"},{commonName:"Waltham Cross",modes: ["RailStation"],lat:51.68525726,lon:-0.026564257,line:"Greater Anglia",stopType:"RailStation",additionalProperties:[],naptanId:"WLC"},{commonName:"Walthamstow Central",modes: ["RailStation"],lat:51.58301811,lon:-0.019940545,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"WHC"},{commonName:"Walthamstow Queens Road",modes: ["RailStation"],lat:51.58154619,lon:-0.023843943,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"WMW"},{commonName:"Wandsworth Common",modes: ["RailStation"],lat:51.4463656,lon:-0.163536981,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"WSW"},{commonName:"Wandsworth Road",modes: ["RailStation"],lat:51.4702232,lon:-0.139037676,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"WWR"},{commonName:"Wandsworth Town",modes: ["RailStation"],lat:51.46103408,lon:-0.187910038,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"WNT"},{commonName:"Wanstead Park",modes: ["RailStation"],lat:51.55177808,lon:0.026389943,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"WNP"},{commonName:"Wapping",modes: ["RailStation"],lat:51.50434032,lon:-0.055860815,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"WPE"},{commonName:"Waterloo",modes: ["RailStation"],lat:51.50314664,lon:-0.113259252,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"WAT"},{commonName:"Waterloo East",modes: ["RailStation"],lat:51.50416861,lon:-0.109153638,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"WAE"},{commonName:"Watford High Street",modes: ["RailStation"],lat:51.6526537,lon:-0.391696729,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"WFH"},{commonName:"Watford Junction",modes: ["RailStation"],lat:51.66388301,lon:-0.396171957,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"WFJ"},{commonName:"Welling",modes: ["RailStation"],lat:51.46477709,lon:0.101775038,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"WLI"},{commonName:"Wembley Central",modes: ["RailStation"],lat:51.55186478,lon:-0.296392327,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"WMB"},{commonName:"Wembley Stadium",modes: ["RailStation"],lat:51.55465457,lon:-0.286046447,line:"Chiltern Railways",stopType:"RailStation",additionalProperties:[],naptanId:"WCX"},{commonName:"West Brompton",modes: ["RailStation"],lat:51.48732891,lon:-0.195538812,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"WBP"},{commonName:"West Croydon",modes: ["RailStation"],lat:51.37855217,lon:-0.102034293,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"WCY"},{commonName:"West Drayton",modes: ["RailStation"],lat:51.51007122,lon:-0.472176097,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"WDT"},{commonName:"West Dulwich",modes: ["RailStation"],lat:51.44091182,lon:-0.090672676,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"WDU"},{commonName:"West Ealing",modes: ["RailStation"],lat:51.51362521,lon:-0.319782955,line:"TfL Rail",stopType:"RailStation",additionalProperties:[],naptanId:"WEA"},{commonName:"West Ham",modes: ["RailStation"],lat:51.52852552,lon:0.005317394,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"WEH"},{commonName:"West Hampstead",modes: ["RailStation"],lat:51.54747433,lon:-0.191126586,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"WHD"},{commonName:"West Hampstead Thameslink",modes: ["RailStation"],lat:51.54862912,lon:-0.19253752,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"WHP"},{commonName:"West Norwood",modes: ["RailStation"],lat:51.43124112,lon:-0.103189135,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"WNW"},{commonName:"West Ruislip",modes: ["RailStation"],lat:51.56958787,lon:-0.437860146,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"WRU"},{commonName:"West Sutton",modes: ["RailStation"],lat:51.36615014,lon:-0.204644548,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"WSU"},{commonName:"West Wickham",modes: ["RailStation"],lat:51.3812842,lon:-0.01457633,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"WWI"},{commonName:"Westcombe Park",modes: ["RailStation"],lat:51.4845089,lon:0.0177457,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"WCB"},{commonName:"White Hart Lane",modes: ["RailStation"],lat:51.60503477,lon:-0.070870327,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"WHL"},{commonName:"Whitechapel",modes: ["RailStation"],lat:51.51958779,lon:-0.059420485,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"ZLW"},{commonName:"Whitton",modes: ["RailStation"],lat:51.44958819,lon:-0.357682061,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"WTN"},{commonName:"Whyteleafe",modes: ["RailStation"],lat:51.30992932,lon:-0.081135165,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"WHY"},{commonName:"Whyteleafe South",modes: ["RailStation"],lat:51.3034898,lon:-0.076712515,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"WHS"},{commonName:"Willesden Junction",modes: ["RailStation"],lat:51.53223396,lon:-0.243909143,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"WIJ"},{commonName:"Wimbledon",modes: ["RailStation"],lat:51.42110784,lon:-0.206662836,line:"London Underground",stopType:"RailStation",additionalProperties:[],naptanId:"WIM"},{commonName:"Wimbledon Chase",modes: ["RailStation"],lat:51.40953093,lon:-0.21408977,line:"Thameslink",stopType:"RailStation",additionalProperties:[],naptanId:"WBO"},{commonName:"Winchmore Hill",modes: ["RailStation"],lat:51.63388686,lon:-0.100916933,line:"Great Northern",stopType:"RailStation",additionalProperties:[],naptanId:"WIH"},{commonName:"Wood Street",modes: ["RailStation"],lat:51.58666994,lon:-0.001953898,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"WST"},{commonName:"Woodgrange Park",modes: ["RailStation"],lat:51.54905254,lon:0.044572496,line:"London Overground",stopType:"RailStation",additionalProperties:[],naptanId:"WGR"},{commonName:"Woodmansterne",modes: ["RailStation"],lat:51.31901858,lon:-0.154262129,line:"Southern",stopType:"RailStation",additionalProperties:[],naptanId:"WME"},{commonName:"Woolwich Arsenal",modes: ["RailStation"],lat:51.48990712,lon:0.069193906,line:"DLR",stopType:"RailStation",additionalProperties:[],naptanId:"WWA"},{commonName:"Woolwich Dockyard",modes: ["RailStation"],lat:51.49110779,lon:0.054612348,line:"Southeastern",stopType:"RailStation",additionalProperties:[],naptanId:"WWD"},{commonName:"Worcester Park",modes: ["RailStation"],lat:51.38110449,lon:-0.245575292,line:"South Western Railway",stopType:"RailStation",additionalProperties:[],naptanId:"WCP"}];
var routeColour = [];
routeColour.push(
{"line":"bakerloo","color":"#ffffff","background":"#996633"},
{"line":"central","color":"#ffffff","background":"#CC3333"},
{"line":"circle","color":"#ffffff","background":"#FFCC00"},
{"line":"district","color":"#ffffff","background":"#006633"},
{"line":"hammersmith-city","color":"#ffffff","background":"#CC9999"},
{"line":"jubilee","color":"#ffffff","background":"#868F98"},
{"line":"metropolitan","color":"#ffffff","background":"#660066"},
{"line":"northern","color":"#ffffff","background":"#000000"},
{"line":"piccadilly","color":"#ffffff","background":"#000099"},
{"line":"victoria","color":"#ffffff","background":"#0099CC"},
{"line":"waterloo-city","color":"#ffffff","background":"#66CCCC"},
{"line":"dlr","color":"#ffffff","background":"#009999"},
{"line":"london-overground","color":"#ffffff","background":"#FF6600"},
{"line":"tram","color":"#ffffff","background":"#66CC00"},
{"line":"tfl-rail","color":"#ffffff","background":"#0019A8"},
{"line":"thames-river-services","color":"#ffffff","background":"#1c99c4"},
{"line":"woolwich-ferry","color":"#ffffff","background":"#1c99c4"}
);
function refreshViewPoint(arr,arr2){
var bounds = map.getBounds();
var camShowCount = 0;
var camHiddenCount = 0;
var incShowCount = 0;
var incHiddenCount = 0;
for (var a = 0; a < arr.length; a++) {
if(bounds.contains(arr[a].position)===true){
if (CamHide){
}else{
camShowCount++;
}
arr[a].setVisible(true);
}
else {
camHiddenCount++;
arr[a].setVisible(false);
}
}
/*if(arr2.length==0){setTimeout(refreshCounts, 4000);}*/
for (var a = 0; a < arr2.length; a++) {
if(bounds.contains(arr2[a].position)===true){
if (IncHide){
}else{
incShowCount++;
}
arr2[a].setVisible(true);
}else {
incHiddenCount++;
arr2[a].setVisible(false);
}
}
$('#camCount').html(' '+camShowCount);
$('#incCount').html(' '+incShowCount);
if(arr.length!=0||arr2.length!=0){
/*console.log(camShowCount+'/'+arr.length+' Cams '+incShowCount+'/'+arr2.length+' Incidents within ViewPort');*/
}
refreshPassCount = 0;
}
function refreshCounts(){
refreshViewPoint(camsArray,incidentArray);
}
function findObjectByKey(array, key, value) {
for (var i = 0; i < array.length; i++) {
if (array[i][key] === value) {
return array[i];
}
}
return null;
}
function clearMap() {
if(markers != undefined){
console.log(markers.length);
for (i=0;i<markers.length;i++) {
map.removeLayer(markers[i]);
}
}
}
function refreshCam(){
//console.log("Refresh triggered");
clearInterval(refreshInterval);
refreshInterval=self.setInterval(function(){
console.log("Refresh Camera");
if (document.getElementById('camURL')!= null){
var camURL = document.getElementById('camURL').innerText;
var camLink = document.getElementById('myImg');
camLink.src = camURL + '?i=' + Math.random().toString(36).substr(2, 10);
countdown(3);
refreshCam();
}
}, 179000);
}
function urldecode(str){return decodeURIComponent((str+'').replace(/%(?![\da-f]{2})/gi,function(){return'%25';}).replace(/\+/g,'%20'));}
function setOpacity(imageType, markerType){
console.log('Hide '+imageType+' : '+ markerType)
if(imageType=='cams'){
if(markerType===true){
resetMarkers(camsArray,'cams');
CamHide=true;
setTimeout(function(){refreshCounts()}, 500);
$('#cameras').attr('src', 'img/cams.png');
$('#cameras').css('opacity', 0.2);
$('#sCam').attr('title','Please wait..');
$('#sCam').removeAttr("href");
$('#sCam').removeAttr("onclick");
setTimeout(function(){$('#sCam').attr('title','Show JamCams')}, 10000);
setTimeout(function(){$('#sCam').attr('href','#')}, 10500);
setTimeout(function(){$('#sCam').attr('onclick', 'setOpacity(cams, false);return false')}, 11000);
setTimeout(function(){$('#cameras').css('opacity', 0.4)}, 11500);
}else{
showCams();
CamHide=false;
$('#cameras').attr('src', 'img/cams.png');
$('#cameras').css('opacity', 0.7);
$('#sCam').removeAttr("href");
$('#sCam').removeAttr("onclick");
$('#sCam').attr('title','Loading JamCams, Please wait..');
setTimeout(function(){$('#sCam').attr('title','Hide JamCams')}, 10000);
setTimeout(function(){$('#sCam').attr('href','#')}, 10500);
setTimeout(function(){$('#sCam').attr('onclick', 'setOpacity(cams, true);return false')}, 11000);
setTimeout(function(){$('#cameras').css('opacity', 1)}, 11500);
setTimeout(function(){refreshCounts()}, 500);
}
}else if(imageType=='incidents'){
if(markerType===true){
resetMarkers(incidentArray,'incidents');
IncHide=true;
setTimeout(refreshCounts, 2000);
$('#incidents').attr('src', 'img/incidents.png');
$('#incidents').css('opacity', 0.2);
$('#sInc').attr('title','Please wait..');
$('#sInc').removeAttr("href");
$('#sInc').removeAttr("onclick");
setTimeout(function(){$('#sInc').attr('title','Show Incidents')}, 10000);
setTimeout(function(){$('#sInc').attr('href','#')}, 10500);
setTimeout(function(){$('#sInc').attr('onclick', 'setOpacity(incidents, false);return false')}, 11000);
setTimeout(function(){$('#incidents').css('opacity', 0.4)}, 11500);
}else{
showIncidents();
IncHide=false;
$('#incidents').attr('src', 'img/incidents.png');
$('#incidents').css('opacity', 0.7);
$('#sInc').removeAttr("href");
$('#sInc').removeAttr("onclick");
$('#sInc').attr('title','Loading Incidents, Please wait..');
setTimeout(function(){$('#sInc').attr('title','Hide Incidents')}, 10000);
setTimeout(function(){$('#sInc').attr('href','#')}, 10500);
setTimeout(function(){$('#sInc').attr('onclick', 'setOpacity(incidents, true);return false')}, 11000);
setTimeout(function(){$('#incidents').css('opacity', 1)}, 11500);
setTimeout(function(){refreshCounts()}, 2000);
}
}else if(imageType=='traffic'){
if(markerType===true){
setTraffic(markerType);
/*IncHide=true;*/
/*setTimeout(refreshCounts, 2000);*/
$('#traffic').attr('src', 'img/traffic.png');
$('#traffic').css('opacity', 0.2);
$('#sTraffic').attr('title','Please wait..');
$('#sTraffic').removeAttr("href");
$('#sTraffic').removeAttr("onclick");
setTimeout(function(){$('#sTraffic').attr('title','Show Traffic')}, 10000);
setTimeout(function(){$('#sTraffic').attr('href','#')}, 10500);
setTimeout(function(){$('#sTraffic').attr('onclick', 'setOpacity(traffic, false);return false')}, 11000);
setTimeout(function(){$('#traffic').css('opacity', 0.4)}, 11500);
}else{
setTraffic(markerType);
/*IncHide=false;*/
$('#traffic').attr('src', 'img/traffic.png');
$('#traffic').css('opacity', 0.7);
$('#sTraffic').removeAttr("href");
$('#sTraffic').removeAttr("onclick");
$('#sTraffic').attr('title','Loading Traffic, Please wait..');
setTimeout(function(){$('#sTraffic').attr('title','Hide Traffic')}, 10000);
setTimeout(function(){$('#sTraffic').attr('href','#')}, 10500);
setTimeout(function(){$('#sTraffic').attr('onclick', 'setOpacity(traffic, true);return false')}, 11000);
setTimeout(function(){$('#traffic').css('opacity', 1)}, 11500);
/*setTimeout(function(){refreshCounts()}, 2000);*/
}
}
}
function hideload() {
document.getElementById("loadmessage").style.visibility='hidden';
document.getElementById("loadmessage").style.display='none';
/*parent.document.getElementById("loadmessage").style.visibility='hidden';
parent.document.getElementById("loadmessage").style.display='none';
//console.log('Hide loading');*/
}
function imageLoaded() {
document.getElementById("loadmessage").style.visibility='hidden';
document.getElementById("loadmessage").style.display='none';
/*parent.document.getElementById("loadmessage").style.visibility='hidden';
parent.document.getElementById("loadmessage").style.display='none';*/
/*console.log('Hide loading');*/
}
function playPause(video){
if(video.paused)
video.play();
else
video.pause();
}
function formatDate(date) {
var d = new Date(date),
month = '' + (d.getMonth() + 1),
day = '' + d.getDate(),
year = d.getFullYear();
if (month.length < 2) month = '0' + month;
if (day.length < 2) day = '0' + day;
return [year, month, day].join('-');
}
function countdown(minutes) {
if (minutes == 0){
return;
}else{
var seconds = 60;
var mins = minutes
var myTimer;
function tick() {
var counter = document.getElementById("timer");
var current_minutes = mins-1
seconds--;
if(counter){
counter.innerHTML = current_minutes.toString() + ":" + (seconds < 10 ? "0" : "") + String(seconds);
if( seconds > 0 ) {
myTimer = setTimeout(tick, 1000);
}else{
myTimer = setTimeout(function(){
if(mins > 1){
countdown(mins-1);
}
},1000);
}
}
}
tick();
}
}
function getCookie(c_name){var i,x,y,ARRcookies=document.cookie.split(";");for (i=0; i<ARRcookies.length; i++){x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);x=x.replace(/^\s+|\s+$/g,"");if (x==c_name){return unescape(y);}}}
function getParameterByName(name,url){
if(!url)url=window.location.href;name=name.replace(/[\[\]]/g,"\\$&");
var regex=new RegExp("[?&]"+name+"(=([^&#]*)|&|#|$)"),results=regex.exec(url);
if(!results)return null;if(!results[2])return'';
return decodeURIComponent(results[2].replace(/\+/g," "));
}
function loadMap() {
//if(map != undefined)
//{
// map.remove();
// map = undefined
//document.getElementById('mapLayer').innerHTML = "";
//}
//initializingMap();
//console.log("Loading Map:"+Date());
//if(markers != undefined){
//for (i=0;i<markers.length;i++) {
// map.removeLayer(markers[i]);
// }
//}
//if(cams != undefined){
//cams.clearLayers();
//}
//var markers = new Array();
//clearMap();
var marker;
var cams = L.layerGroup();
var incidents = L.layerGroup();
var allMarkers = [];
var totCount=0;
var trueCount=0;
var offline;
$("#btnload").on("click",function(){
type=$('#feedType').text();
if(type=='video'){$('#btnload').val('Load Video');}else{$('#btnload').val('Load Images');}
if(type=='video'){type='image';}else{type='video';}
//$('#feedType').text('video');
$('#TypePlural').text('s');
setCams(type);
/*setIncidents(map);*/
});
function setCams(type){
//type=$('#feedType').text();
//if(type=='video'){type='image';}else{type='video';}
$('#feedType').text(type);
cams.clearLayers();
camsArray=[];
console.log('Load JamCam ' + type + 's');
var contentString;
$('#btnload').val('Getting feeds..');
type=$('#feedType').text();
var consent = getCookie("cookieconsent_status");
if (consent==="allow"){setCookie('tfljamcams',type,56);}else{setCookie('tfljamcams',type,-1);}
$('#feedType').text(type);
$('#TypePlural').text('s');
var totCount=0;
var trueCount=0;
$.ajax({
url: ('https://api.tfl.gov.uk/Place/Type/JamCam/?app_id=c3def22f&app_key=15409804fca08bb07753590bfc4291d1'),
dataType: "json",
//contentType: "application/json",
error: function() {
setTimeout(setCams(type),60000);
console.log('Error retreiving cams data, trying again in 60 seconds');
},
success:function(data){
/*console.log(data);*/
$.each(data,function(key,data){
totCount=totCount+1;
/*console.log(data);*/
var lon = data.lon;
var lat = data.lat;
var commonName = encodeURI(data.commonName);
var loc=encodeURI(data.commonName);
var url = data.url;
var imageUrl = data.imageUrl;
var camView=encodeURI(data.additionalProperties[3].value);
var isAvailable=data.additionalProperties[0].value;
type=$('#feedType').text();
//var type = 'video';
if(isAvailable=='true'){
offline = '';
trueCount=trueCount+1
}else{
offline = ' reports offline';
}
if(type=='video'){
var imgLink=data.additionalProperties[2].value;
var poster=data.additionalProperties[1].value;
var contentString="<div id='marker'><div><img align='left' src='img/roundel.gif' alt='JamCam'/><small><em>Camera "+trueCount+" Refresh in <span id=\"timer\">3:00</span></em></small><br /><strong><a href=\"http://archive.tfljamcams.net/archive/"+urldecode(loc).replace(/\s+/g, "_").replace(/\//g, "_")+"\" title=\"Click here for Camera archives\">"+urldecode(loc)+"</a> <em><small></small></em></strong><small>"+offline+"</small></div>"+
"<div><small>View: "+urldecode(camView)+"<br /><em>Powered by TfL Open Data.<br /></em></small></div><div id='iframe'>"+
"<div id='loadmessage' class='stoploadmessage'><img src='/img/loading.gif' alt='Loading'>"+
"<span style='background-color:rgba(0, 0, 0, 0.6);color:rgba(255,255,255, 0.6);z-index:9999;'> Loading "+type+"</span></div>"+
"<span id=\"camURL\" style=\"display:none;\">"+imgLink+"</span>"+
"<video loop autoplay muted poster='"+poster+"' onclick='playPause(this);' onloadeddata='hideload()'>"+
"<source id='myImg' src='"+imgLink;
var contentString2="'></video></div></div>";
var overContentString="<div id='marker-over'><div><img align='left' src='img/roundel.gif' alt='JamCam'/><strong>"+urldecode(loc)+"</strong><small>"+offline+"</small><br /><small><em>Camera "+trueCount+"</em></small></div></div>";
}else{
var imgLink=data.additionalProperties[1].value;
var contentString="<div id='marker'><div><img align='left' src='img/roundel.gif' alt='JamCam'/><small><em>Camera "+trueCount+" Refresh in <span id=\"timer\">3:00</span></em></small><br /><strong><a href=\"http://archive.tfljamcams.net/archive/"+urldecode(loc).replace(/\s+/g, "_").replace(/\//g, "_")+"\" title=\"Click here for Camera archives\">"+urldecode(loc)+"</a> <em><small></small></em></strong><small>"+offline+"</small></div>"+
"<div><small>View: "+urldecode(camView)+"<br /><em>Powered by TfL Open Data.<br /></em></small></div><div id='iframe'>"+
"<div id='loadmessage' class='stoploadmessage'><img src='/img/loading.gif' alt='Loading'>"+
"<span style='background-color:rgba(0, 0, 0, 0.6);color:rgba(255,255,255, 0.6);z-index:9999;'> Loading "+type+"</span></div>"+
"<span id=\"camURL\" style=\"display:none;\">"+imgLink+"</span>"+
"<img id='myImg' src='"+imgLink;
var contentString2="' onload='imageLoaded();' /></div></div>";
var overContentString="<div id='marker-over'><div><img align='left' src='img/roundel.gif' alt='JamCam'/><strong>"+urldecode(loc)+"</strong><small>"+offline+"</small><br /><small><em>Camera "+trueCount+"</em></small></div></div>";
}
/*if (map.getMapTypeId()== 'satellite'||map.getMapTypeId()=='hybrid') {
var image='img/cctv-sat.png';