diff --git a/public_html/gmap.html b/public_html/gmap.html index e6462bf..f5a644a 100644 --- a/public_html/gmap.html +++ b/public_html/gmap.html @@ -1,30 +1,24 @@ - - -
- - - - - - - - - - - + + + + + + + + +' + selected.flight + ' | ||
Squawking: Aircraft Hijacking | ' + } + // Radio Failure + if (selected.squawk == 7600) { + html += '||
Squawking: Communication Loss (Radio Failure) | ' + } + // Emergancy + if (selected.squawk == 7700) { + html += '||
Squawking: Emergancy | ' + } + html += '||
Altitude: ' + selected.altitude + ' | Squawk: ' + selected.squawk + ' | |
Track: ' + selected.track + ' (' + normalizeTrack(selected.track, selected.vTrack)[1] +') | ICAO (hex): ' + selected.icao + ' | |
Lat/Long: ' + selected.latitude + ', ' + selected.longitude + ' |
'+p.flight+' '; - html += '[FlightStats] | |
ICAO: | '+p.hex+' |
Squawk: | '+p.squawk+' |
Squawk: | n/a |
Altitude: | '+p.altitude+' feet |
Speed: | '+p.speed+' knots |
Coordinates: | '+p.lat+', '+p.lon+' |
Coordinates: | n/a |
Messages: | '+p.messages+' |
Seen: | '+p.seen+' sec |
hex | '; + html += ''; + html += 'ICAO | '; html += 'Flight | '; html += 'Squawk | '; html += 'Altitude | '; html += 'Speed | '; html += 'Track | '; html += 'Msgs | '; - html += 'Seen | '; - for (var p in Planes) { - var specialStyle = ""; - if (p == Selected) { - html += '
Seen | |||||||
' + tableplane.icao + ' | '; + html += '' + tableplane.flight + ' | '; + html += '' + tableplane.squawk + ' | '; + html += '' + tableplane.altitude + ' | '; + html += '' + tableplane.speed + ' | '; + html += '' + normalizeTrack(tableplane.track, tableplane.vTrack)[2] + ' (' + normalizeTrack(tableplane.track, tableplane.vTrack)[1] + ') | '; + html += '' + tableplane.messages + ' | '; + html += '' + tableplane.seen + ' | '; + html += '' + Planes[p].hex + ' | '; - html += '' + Planes[p].flight + ' | '; - html += '' + Planes[p].squawk + ' | '; - html += '' + Planes[p].altitude + ' | '; - html += '' + Planes[p].speed + ' | '; - html += '' + Planes[p].track + ' | '; - html += '' + Planes[p].messages + ' | '; - html += '' + Planes[p].seen + ' | '; - html += ''; } - html += '