Added flags to json for valid position and heading
As MalcolmRobb suggested. modified: dump1090.c modified: public_html/script.js
This commit is contained in:
parent
ebadf90a57
commit
e65e873c13
2 changed files with 17 additions and 6 deletions
public_html
|
@ -118,8 +118,8 @@ function fetchData() {
|
|||
stillhere[plane.hex] = true;
|
||||
plane.flight = $.trim(plane.flight);
|
||||
|
||||
if (plane.lat != 0 && plane.lon != 0) {
|
||||
// Show only planes with position
|
||||
// Show only planes with position
|
||||
if (plane.validposition == 1) {
|
||||
var marker = null;
|
||||
PlanesOnMap++;
|
||||
|
||||
|
@ -175,7 +175,8 @@ function fetchData() {
|
|||
}
|
||||
}
|
||||
|
||||
refreshTableInfo() ;
|
||||
refreshTableInfo();
|
||||
refreshSelectedInfo();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue