When receiving mlat, allow larger gaps between positions before plotting estimated tracks.

mlat positions aren't generally so frequent as proper ES, so they'd almost always plot
as estimated.
This commit is contained in:
Oliver Jowett 2015-06-29 12:44:19 +01:00
parent 98a55c8dec
commit f1f76cb8e3

View file

@ -326,7 +326,7 @@ PlaneObject.prototype.updateTick = function(receiver_timestamp, last_timestamp)
} else {
this.visible = true;
if (this.position !== null) {
if (this.updateTrack(receiver_timestamp - last_timestamp + 5)) {
if (this.updateTrack(receiver_timestamp - last_timestamp + (this.position_from_mlat ? 30 : 5))) {
this.updateLines();
this.updateMarker(true);
} else {