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:
parent
98a55c8dec
commit
f1f76cb8e3
|
@ -326,7 +326,7 @@ PlaneObject.prototype.updateTick = function(receiver_timestamp, last_timestamp)
|
||||||
} else {
|
} else {
|
||||||
this.visible = true;
|
this.visible = true;
|
||||||
if (this.position !== null) {
|
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.updateLines();
|
||||||
this.updateMarker(true);
|
this.updateMarker(true);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue