This repository has been archived by the owner on Dec 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
598 lines (545 loc) · 22.9 KB
/
index.php
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
<!DOCTYPE html>
<html>
<head>
<title>adsb.chaos-consulting.de - Alpha</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--adsb-->
<link rel="stylesheet" href="css/mainstyle.css" />
<!--leaflet-->
<link rel="stylesheet" href="css/leaflet.css" />
<script src="js/leaflet.js"></script>
<!--leafletPlugins-->
<script src="js/leaflet-realtime.js"></script>
<script src="js/leaflet-heat.js"></script>
<script src="js/leaflet-activearea.js"></script>
<!--tabulator-->
<script src="js/tabulator.js"></script>
<link rel="stylesheet" href="css/tabulator.css" />
<!--FontAwesome-->
<link href="css/all.css" rel="stylesheet">
<!--Helpers-->
<script src="js/helpers.js"></script>
<script src="js/vehicleInfo.js"></script>
<script src="js/vehicleSelect.js"></script>
<script src="js/layers.js"></script>
<script src="js/notify.js"></script>
<script src="js/stats.js"></script>
<script src="js/stations.js"></script>
<script src="js/heatmap.js"></script>
<script src="js/filter.js"></script>
<script src="js/magic.js"></script>
<script src="js/sidebar.js"></script>
<!--Markers-->
<script src="js/markers.js"></script>
</head>
<body>
<!--map-->
<div id="map"></div>
<!-- rc3 banner -->
<div id="rc3">
<div id="rc3inner">
Welcome
<img id="rc3logo" src="rc3/02a_RC3_Logo_Export_Export.svg"/>
</div>
</div>
<?php include('navbar.php'); ?>
<?php
$b=array(
"sidebarToggle" => array(
"icon" => "fas fa-angle-double-right",
"descShort" => "",
"descLong" => "Show/hide Sidebar",
"mode" => "desktop",
"action" => "sidebarToggle()"
),
"planeListShow" => array(
"icon" => "fas fa-plane",
"descShort" => "Planes",
"descLong" => "Show list of active planes",
"mode" => "all",
"action" => "sidebarPanelShow('planeList')"
),
"shipListShow" => array(
"icon" => "fas fa-ship",
"descShort" => "Shipss",
"descLong" => "Show list of active ships",
"mode" => "all",
"action" => "sidebarPanelShow('shipList')"
),
"planeHistoryListShow" => array(
"icon" => "fas fa-history",
"descShort" => "History",
"descLong" => "Show list of recent planes",
"mode" => "all",
"action" => "sidebarPanelShow('planeHistoryList','planeHistoryListShow')"
),
"stationListShow" => array(
"icon" => "fas fa-wifi",
"descShort" => "Stations",
"descLong" => "Show list of receiver stations",
"mode" => "all",
"action" => "sidebarPanelShow('stationList')"
),
"statsShow" => array(
"icon" => "fas fa-chart-bar",
"descShort" => "Statistics",
"descLong" => "Show statistics",
"mode" => "all",
"action" => "sidebarPanelShow('stats','statsCalc')"
),
"faqShow" => array(
"icon" => "fas fa-question",
"descShort" => "FAQ",
"descLong" => "Show explanation",
"mode" => "all",
"action" => "sidebarPanelShow('faq')"
),
"filterShow" => array(
"icon" => "fas fa-filter",
"descShort" => "Filter",
"descLong" => "Filter Planes",
"mode" => "all",
"action" => "sidebarPanelShow('filter')"
),
"settingsShow" => array(
"icon" => "fas fa-cogs",
"descShort" => "Settings",
"descLong" => "Configure various things",
"mode" => "all",
"action" => "sidebarPanelShow('settings')"
),
"magicToggle" => array(
"icon" => "fas fa-magic",
"descShort" => "",
"descLong" => "Bored? Lets do some magic!",
"mode" => "desktop",
"action" => "magicToggle()"
),
"geolocationToggle" => array(
"icon" => "fas fa-crosshairs",
"descShort" => "",
"descLong" => "Track your own location",
"mode" => "all",
"action" => "geolocationToggle()"
)
);
?>
<!--menue-->
<div class="mobile menue" id="menue">
<div class="menueButton mobile"><a href="https://chaos-consulting.de"><i class="fas fa-home"></i><br>chaos-consulting.de</a></div>
<div class="menueButton mobile"><a href="https://github.com/chaos-consulting/adsberry"><i class="fas fa-tools"></i><br>Build your own</a></div>
<div class="menueButton mobile"><a href="about.php"><i class="fas fa-book-open"></i><br>About</a></div>
<div class="menueButton mobile"><i class="fas fa-map" onclick="menueHide(); sidebarHide(); document.getElementById('mobileClose').style = 'display:none';"></i><br>Map</div>
<?php
foreach($b as $id => $a){
if($a['mode']=='all'){
echo '<div class="menueButton mobile"><i class="'.$a['icon'].'" onclick="'.$a['action'].'"></i><br>'.$a['descShort'].'</div>';
}
}
?>
</div>
<!--tabbar-->
<div class="tabbar desktop" id="tabbar">
<?php
$extra=$_GET['extra'];
foreach($b as $id => $a){
if($a['mode']=='desktop' or $a['mode']=='all'){
echo '<div class="button" id="'.$id.'" onclick="'.$a['action'].'" title="'.$a['descLong'].'"><i class="'.$a['icon'].'"></i></div>';
}
if($extra==true and $a['mode']=='extra'){
echo '<div class="button" id="'.$id.'" onclick="'.$a['action'].'" title="'.$a['descLong'].'"><i class="'.$a['icon'].'"></i></div>';
}
}
?>
</div>
<!--sidebar-->
<div class="sidebar" id="sidebar">
<!--content-->
<!--planelist-->
<div class="content" id="planeListContent">
<!--tabulator-->
<div id="planelist"></div>
</div>
<!--content-->
<!--shiplist-->
<div class="content" id="shipListContent">
<!--tabulator-->
<div id="shiplist"></div>
</div>
<!--planeHistoryList-->
<div class="content" id="planeHistoryListContent">
<!--planeHistoryListTabulator-->
<div id="planeHistoryList"></div>
</div>
<!--plane-->
<div class="content" id="planeContent">
<!--info-->
<table id="planeInfoTable">
<thead>
<tr><td colspan="3"><i id="planeInfoTableToggle" class="fas fa-minus-square" onclick="tableCollapseToggle('planeInfoTable')"></i> Info<div class="desktop" onclick="vehicleDeSelect('plane')"><i class="fas fa-window-close"></i></div></td></tr>
</thead>
<tbody id="planeInfoTableBody">
<tr><td>ICAO</td><td id="planeId">n/a</td><td id="planeRegistration">n/a</td></tr>
<tr><td>Flight</td><td colspan="2" id="planeFlight">n/a</td></tr>
<tr><td>Country</td><td colspan="2" id="planeCountry">n/a</td></tr>
<tr><td>Airline</td><td colspan="2" id="planeAirline">n/a</td></tr>
<tr><td>Plane</td><td id="planeModel">n/a</td><td id="planeModelLong">n/a</td></tr>
<tr><td>Squawk</td><td id="planeSquawk">n/a</td><td id="planeSquawkLong">n/a</td></tr>
<tr><td>Seen</td><td colspan="2" id="planeSeen">n/a</td></tr>
<tr><td>Link</td><td colspan="2" id="planeLink"></td></tr>
</tbody>
</table>
</br>
<!--position-->
<table id="planePositionTable">
<thead>
<tr><td colspan="3"><i id="planePositionTableToggle" class="fas fa-minus-square" onclick="tableCollapseToggle('planePositionTable')"></i> Position<div id="vehicleFocus" onclick="vehicleFocusToggle()" title="toggle follow aircraft"><i class="fas fa-crosshairs"></i></div></td></tr>
</thead>
<tbody id="planePositionTableBody">
<tr><td>Lat/Lon</td><td id="planeLatLon" colspan="2">n/a</td></tr>
<tr><td>Direction</td><td id="planeTrack" colspan="2">n/a</td></tr>
<tr><td>Altitude</td><td id="planeAltitudeNowMetric">n/a</td><td id="planeAltitudeNow">n/a</td></tr>
<tr><td>Speed</td><td id="planeSpeedNowMetric">n/a</td><td id="planeSpeedNow">n/a</td></tr>
<tr><td>Age</td><td id="planeSeenPos" colspan="2">n/a</td></tr>
</tbody>
</table>
</br>
<!--picture-->
<table>
<thead>
<tr><td><i id="planePictureTableToggle" class="fas fa-minus-square" onclick="tableCollapseToggle('planePictureTable')"></i> Picture</td></tr>
</thead>
<tbody id="planePictureTableBody">
<tr><td id="planePicture"><img id="planePictureImage"></td></tr>
<tr><td id="planeDescription"></td></tr>
</tbody>
</table>
</br>
<!--History-->
<table>
<thead>
<tr><td colspan="2" ><i id="planeHistoryTableToggle" class="fas fa-minus-square" onclick="tableCollapseToggle('planeHistoryTable')"></i> History</td></tr>
</thead>
<tbody id="planeHistoryTableBody">
<tr><td>Export Track as geojson</td><td><a id="exportTrackGeojson" href="" target="_blank" title="export track"><i class="fas fa-save"></i></a></td></tr>
</tbody>
</table>
</br>
<!--stations-->
<!--tabulator-->
<div id="planeStations"></div>
</br>
</div>
<!--ship-->
<div class="content" id="shipContent">
<!--info-->
<table id="shipInfoTable">
<thead>
<tr><td colspan="3"><i id="shipInfoTableToggle" class="fas fa-minus-square" onclick="tableCollapseToggle('shipInfoTable')"></i> Info<div class="desktop" onclick="vehicleDeSelect('ship')"><i class="fas fa-window-close"></i></div></td></tr>
</thead>
<tbody id="shipInfoTableBody">
<tr><td>MMSI</td><td colspan="2" id="shipId">n/a</td></tr>
<tr><td>Name</td><td colspan="2" id="shipName">n/a</td></tr>
<tr><td>Callsign</td><td colspan="2" id="shipCallsign">n/a</td></tr>
<tr><td>Country</td><td colspan="2" id="shipCountry">n/a</td></tr>
<tr><td>Type</td><td id="shipType">n/a</td><td id="shipTypeText">n/a</td></tr>
<tr><td>Length/width</td><td id="shipLength">n/a</td><td id="shipWidth">n/a</td></tr>
<tr><td>Draught</td><td colspan="2" id="shipDraught">n/a</td></tr>
<tr><td>Status</td><td id="shipStatus">n/a</td><td id="shipStatusText">n/a</td></tr>
<tr><td>Destination</td><td colspan="2" id="shipDestination">n/a</td></tr>
<tr><td>Est. arrival</td><td colspan="2" id="shipEta">n/a</td></tr>
<tr><td>Seen</td><td colspan="2" id="shipSeen">n/a</td></tr>
<tr><td>Link</td><td colspan="2" id="shipLink"></td></tr>
</tbody>
</table>
</br>
<!--position-->
<table id="shipPositionTable">
<thead>
<tr><td colspan="3"><i id="shipPositionTableToggle" class="fas fa-minus-square" onclick="tableCollapseToggle('shipPositionTable')"></i> Position<div id="vehicleFocus2" onclick="vehicleFocusToggle()" title="toggle follow aircraft"><i class="fas fa-crosshairs"></i></div></td></tr>
</thead>
<tbody id="shipPositionTableBody">
<tr><td>Lat/Lon</td><td id="shipLatLon" colspan="2">n/a</td></tr>
<tr><td>Direction</td><td id="shipCourse">n/a</td><td id="shipHeading">n/a</td></tr>
<tr><td>Speed</td><td id="shipSpeedNowMetric">n/a</td><td id="shipSpeedNow">n/a</td></tr>
</tbody>
</table>
</br>
<!--History-->
<table>
<thead>
<tr><td colspan="2" ><i id="shipHistoryTableToggle" class="fas fa-minus-square" onclick="tableCollapseToggle('shipHistoryTable')"></i> History</td></tr>
</thead>
<tbody id="shipHistoryTableBody">
<tr><td>Export Track as geojson</td><td><a id="exportShipTrackGeojson" href="" target="_blank" title="export track"><i class="fas fa-save"></i></a></td></tr>
</tbody>
</table>
</br>
<!--stations-->
<!--<div id="shipStations">
<table id="shipStationsTable">
<thead>
<tr><td colspan="3"><i id="shipStationsTableToggle" class="fas fa-minus-square" onclick="tableCollapseToggle('shipStationsTable')"></i> Stations</td></tr>
</thead>
<tbody id="shipStationsTableBody">
<tr><td id="shipStation">n/a</td><td id="shipLatLon" colspan="2">n/a</td></tr>
</tbody>
</table>
</div>
</br>-->
<!--stations-->
<!--tabulator-->
<div id="shipStations"></div>
</br>
</div>
<!--stationlist-->
<div class="content" id="stationListContent">
<!--tabulator-->
<div id="stationlist"></div>
</div>
<!--station-->
<div class="content" id="stationContent">
<!--info-->
<table>
<thead>
<tr><td colspan="2">Info<div onclick="stationDeSelect()"><i class="fas fa-window-close"></i></div></td></tr>
</thead>
<tbody>
<tr><td>Name</td><td id="stationName">n/a</td></tr>
<tr><td>Last seen</td><td id="stationSeen">n/a</td></tr>
<tr><td>Planes</td><td id="stationPlanes">n/a</td></tr>
<tr><td>Planes with Position</td><td id="stationPositions">n/a</td></tr>
<tr><td>Planes with MLAT</td><td id="stationMlats">n/a</td></tr>
<tr><td>Link</td><td id="stationLink">n/a</td></tr>
</tbody>
</table>
</br>
<!--mlat-->
<!--tabulator-->
<div id="stationMlatPeersTable"></div>
</br>
<div class="infobox">
<h1>Please note</h1>
Only MLAT enabled Stations are shown on map with a location marker. If your station does not send MLAT already, think about adding it.</br>
Positions are only approximate to protect the station owners privacy.
</div>
</div>
<!--stats-->
<div class="content" id="statsContent">
<h1>Statistics <i class='fas fa-sync-alt' title='Refresh' onclick='statsCalc()'></i></h1>
<!--tabulator-->
<div id="statsPositionsTable"></div>
</br>
<!--tabulator-->
<div id="statsTypesTable"></div>
</br>
<!--tabulator-->
<div id="statsStationsTable"></div>
</br>
<!--tabulator-->
<div id="statsModelsTable"></div>
</br>
<!--tabulator-->
<div id="statsAirlinesTable"></div>
</br>
<div class="infobox">
<h1>Please note</h1>
These statistics are not influenced by any filters you may have set.</br>
We are using every aircraft from every station at every given point of time to calculate these stats.
</div>
</div>
<!--faq-->
<div class="content" id="faqContent">
<h1>Explanation</h1>
<h2>Altitude colors</h2>
<table>
<thead>
<tr><td>Color</td><td>m</td><td>ft</td></tr>
</thead>
<tbody>
<tr><td style="background-color:#aaa"></td><td>0</td><td>0</td></tr>
<tr><td style="background-color:#a52a2a"></td><td>1+</td><td>1+</td></tr>
<tr><td style="background-color:#d97012"></td><td>305+</td><td>1.000+</td></tr>
<tr><td style="background-color:#ffa500"></td><td>610+</td><td>2.000+</td></tr>
<tr><td style="background-color:#ffcc00"></td><td>915+</td><td>3.000+</td></tr>
<tr><td style="background-color:#ff0"></td><td>1373+</td><td>4.500+</td></tr>
<tr><td style="background-color:#afda21"></td><td>1.830+</td><td>6.000+</td></tr>
<tr><td style="background-color:#45a94d"></td><td>2.288+</td><td>7.500+</td></tr>
<tr><td style="background-color:#51b67b"></td><td>2.745+</td><td>9.000+</td></tr>
<tr><td style="background-color:#61c7b8"></td><td>3.202+</td><td>10.500+</td></tr>
<tr><td style="background-color:#4dacd6"></td><td>3.360+</td><td>12.000+</td></tr>
<tr><td style="background-color:#3388ff"></td><td>4.117+</td><td>13.500+</td></tr>
</tbody>
</table>
<h2>Type colors</h2>
<table>
<thead>
<tr><td>Color</td><td>Type</td></tr>
</thead>
<tbody>
<tr><td style="background-color:#f00"></td><td>Rescue and Police</td></tr>
<tr><td style="background-color:#0f0"></td><td>Military</td></tr>
<tr><td style="background-color:#ff00c3"></td><td>Interesting</td></tr>
</tbody>
</table>
<h2>Planes</h2>
<table>
<tbody>
<tr><td><i class="fas fa-check-circle"></i></td><td>This station recently received a position transmitted by the aircraft</td></tr>
<tr><td><i class="fas fa-compass"></i></td><td>This station is contributing to the calculation of the aircrafts approximate position via MLAT</td></tr>
<tr><td><i class="fas fa-times-circle"></i></td><td>This station has no recent position for this aircraft</td></tr>
</tbody>
</table>
<h2>MLAT</h2>
Semi transparent planes do not send a position so we calculate the approximate position via Multilateration (MLAT)
<h2>Buttons</h2>
<i class="fas fa-angle-double-left"></i> Show sidebar</br></br>
<i class="fas fa-angle-double-right"></i> Hide sidebar</br></br>
<i class="fas fa-plane"></i> Show list of active planes</br></br>
<i class="fas fa-history"></i> Show history of recent flights</br></br>
<i class="fas fa-wifi"></i> Show list of receiver stations</br></br>
<i class="fas fa-chart-bar"></i> Show statistics</br></br>
<i class="fas fa-question"></i> Show the Help</br></br>
<i class="fas fa-thumbtack"></i> Show/hide the stations on the map</br></br>
<i class="fas fa-bullseye"></i> Show/hide the overall heatmap (changes to stations heatmap when station is selected)</br></br>
<i class="fas fa-filter"></i> Configure different filters</br></br>
<i class="fas fa-bell"></i> Configure desktop notifications</br></br>
<i class="fas fa-magic"></i> Bored? Lets do some magic!</br></br>
<i class="fas fa-window-close"></i> Deselect plane</br></br>
<i class="fas fa-crosshairs"></i> Follow selected plane, klick again to stop</br></br>
<i class="fas fa-plus-square"></i> Expand section</br></br>
<i class="fas fa-minus-square"></i> Collapse section</br></br>
<h2>More</h2>
<a href="https://en.wikipedia.org/wiki/Lists_of_airlines">https://en.wikipedia.org/wiki/Lists_of_airlines</a>
</div>
<!--filter-->
<div class="content" id="filterContent">
<table>
<thead>
<tr><td colspan="5">Filter by type</td></tr>
</thead>
<tbody>
<tr>
<td id="filterTypeAll" class="filterActive" onclick="filterTypeSet('all')">All</td>
<td id="filterTypeBim" class="filter" onclick="filterTypeSet('bim')">BIM</td>
<td id="filterTypeBos" class="filter" onclick="filterTypeSet('bos')">BOS</td>
<td id="filterTypeInt" class="filter" onclick="filterTypeSet('int')">Interesting</td>
<td id="filterTypeMil" class="filter" onclick="filterTypeSet('mil')">Military</td>
</tr>
</tbody>
</table>
<br>
<table>
<thead>
<tr><td colspan="5">Filter by fix</td></tr>
</thead>
<tbody>
<tr>
<td id="filterFixAll" class="filterActive" onclick="filterFixSet('all')">All</td>
<td id="filterFixTrue" class="filter" onclick="filterFixSet('true')"><script>document.write(fixToIcon('true'))</script></td>
<td id="filterFixMlat" class="filter" onclick="filterFixSet('mlat')"><script>document.write(fixToIcon('mlat'))</script></td>
<td id="filterFixFalse" class="filter" onclick="filterFixSet('false')"><script>document.write(fixToIcon('false'))</script></td>
</tr>
</tbody>
</table>
<br>
<table>
<thead>
<tr><td colspan="12">Filter by altitude</td></tr>
<tr id="filterAltitudeList"></tr>
</thead>
</table>
<br>
<table>
<thead>
<tr><td colspan="5">Filter by source</td></tr>
</thead>
<tbody>
<tr>
<td id="filterSourceAll" class="filterActive" onclick="filterSourceSet('all')">All</td>
<td id="filterSourceAdsb" class="filter" onclick="filterSourceSet('adsb')">ADS-B</td>
<td id="filterSourceAis" class="filter" onclick="filterSourceSet('ais')">AIS</td>
</tr>
</tbody>
</table>
<br>
<table>
<thead>
<tr><td colspan="5">Only show selected vehicle</td></tr>
</thead>
<tbody>
<tr>
<td id="filterSelectedAll" class="filterActive" onclick="filterSelectedSet('all')">All</td>
<td id="filterSelectedSingle" class="filter" onclick="filterSelectedSet('single')">Single</td>
</tr>
</tbody>
</table>
<br>
<table>
<thead>
<tr><td>Filter by station</td></tr>
</thead>
</table>
<div id="filterStationList"></div>
<!--<table>
<thead>
<tr><td>Filter by model</td></tr>
</thead>
</table>
<div id="filterModelList"></div>
<br>-->
<br>
</div>
<!--settings-->
<div class="content" id="settingsContent">
<!--Map options-->
<table>
<thead>
<tr><td colspan="3"><i class="fas fa-globe-europe"></i> Map options</td></tr>
</thead>
<tbody>
<tr><td>Planes</td><td id="planeLayerToggle" class="buttonActive" onclick="layerToggle(planeLayer, 'planeLayerToggle')"><i class="fas fa-plane"></i></td></tr>
<tr><td>Ships</td><td id="shipLayerToggle" class="buttonActive" onclick="layerToggle(shipLayer, 'shipLayerToggle')"><i class="fas fa-ship"></i></td></tr>
<tr><td>Airports</td><td id="airportLayerToggle" class="buttonActive" onclick="layerToggle(airportLayer, 'airportLayerToggle')"><i class="fas fa-plane-departure"></i></td></tr>
<tr><td>Receiver Stations</td><td id="stationLayerToggle" class="buttonActive" onclick="layerToggle(stationLayer, 'stationLayerToggle')"><i class="fas fa-wifi"></i></td></tr>
<tr><td>MLAT Mesh</td><td id="meshLayerToggle" class="button" onclick="layerToggle(meshLayer, 'meshLayerToggle')"><i class="fas fa-dice-d20"></i></td></tr>
<tr><td>Heatmap</td><td id="heatmapLayerToggle" class="button" onclick="heatmapLayerToggle()"><i class="fas fa-bullseye"></i></td></tr>
<tr><td>OpenSeaMap</td><td id="openSeaMapToggle" class="button" onclick="layerToggle(openSeaMapLayer, 'openSeaMapToggle')"><i class="fas fa-ship"></i></td></tr>
<tr><td>Precipitation radar</td><td id="precipitationRadarToggle" class="button" onclick="layerToggle(precipitationLayer, 'precipitationRadarToggle')"><i class="fas fa-cloud-showers-heavy"></i></td></tr>
<tr><td>Weather warnings</td><td id="weatherWarningToggle" class="button" onclick="layerToggle(weatherWarningLayer, 'weatherWarningToggle')"><i class="fas fa-exclamation-triangle"></i></td></tr>
<tr><td>Water levels</td><td id="pegelOnlineToggle" class="button" onclick="layerToggle(pegelOnlineLayer, 'pegelOnlineToggle')"><i class="fas fa-water"></i></td></tr>
<tr><td>Ovals</td><td id="ovalsToggle" class="button" onclick="layerToggle(ovalsLayer, 'ovalsToggle')"><i class="fas fa-circle-notch"></i></td></tr>
</tbody>
</table>
<br>
<!--notifications-->
<table>
<thead>
<tr><td colspan="3"><i class="far fa-comment-alt"></i> Desktop notifications</td></tr>
</thead>
<tbody>
<tr><td>Notification</td><td id="notifyIndicator" onclick="notifyToggle()"><i class="fas fa-comment-slash"></i></td></tr>
<tr><td>Notification Sound</td><td id="notifySoundIndicator" onclick="notifySoundToggle()"><i class="fas fa-volume-mute"></i></td></tr>
<tr><td>Send a test notification</td><td colspan="2" onclick="notify('This is a test')"><i class="fas fa-paper-plane"></i></td></tr>
<tr><td colspan="3">Will send a notification to your desktop if there is an interesting aircraft to see</td></tr>
</tbody>
</table>
<br>
<div class="infobox">
<h1>Please note</h1>
To use desktop notifications your browser must support it and be configured allow it for this site.</br>
Acoustic notifications are an addon to desktop notifications, they will not work standalone.
</div>
</div>
</div>
<!--Sanduhr-->
<i id="activityIndicator" class="far fa-hourglass"></i>
</body>
<!--tables-->
<script src="js/tables.js"></script>
<!--script-->
<script src="js/script.js"></script>
<script src="js/ovals.js"></script>
<script src="js/geolocation.js"></script>
</html>