Properly assigning ttl.
This commit is contained in:
parent
c173d257be
commit
94621c252d
|
|
@ -662,9 +662,9 @@ AircraftMarker.prototype = new Marker();
|
|||
|
||||
AircraftMarker.prototype.update = function(update) {
|
||||
this.lastseen = update.lastseen;
|
||||
this.ttl = update.ttl;
|
||||
this.mode = update.mode;
|
||||
this.comment = update.location.comment;
|
||||
this.ttl = update.location.ttl;
|
||||
// HFDL, ACARS, VDL2, ADSB
|
||||
this.altitude = update.location.altitude;
|
||||
this.aircraft = update.location.aircraft;
|
||||
|
|
|
|||
Loading…
Reference in New Issue