diff --git a/dump1090.c b/dump1090.c index d895cb7..7bb23a3 100644 --- a/dump1090.c +++ b/dump1090.c @@ -1872,8 +1872,9 @@ char *aircraftsToJson(int *len) { if (a->lat != 0 && a->lon != 0) { l = snprintf(p,buflen, - "{\"hex\":\"%s\", \"lat\":%f, \"lon\":%f, \"track\":%d},\n", - a->hexaddr, a->lat, a->lon, a->track); + "{\"hex\":\"%s\", \"flight\":\"%s\", \"lat\":%f, " + "\"lon\":%f, \"altitude\":%d, \"track\":%d},\n", + a->hexaddr, a->flight, a->lat, a->lon, a->altitude, a->track); p += l; buflen -= l; /* Resize if needed. */ if (buflen < 256) { diff --git a/gmap.html b/gmap.html index a5b4a01..a1c9d38 100644 --- a/gmap.html +++ b/gmap.html @@ -15,17 +15,23 @@