diff --git a/js/tracker.js b/js/tracker.js index 5e3f665..9697df3 100644 --- a/js/tracker.js +++ b/js/tracker.js @@ -70,6 +70,7 @@ var svgRenderer = L.svg(); var modeList = [ // "Position", + "0", "15s", "1m", "30m", @@ -477,7 +478,7 @@ function load() { onAdd: function(map) { var div = L.DomUtil.create('div'); - div.innerHTML = ''; + div.innerHTML = ''; div.innerHTML.onload = setTimeValue(); return div; @@ -4223,7 +4224,10 @@ function update(response) { if(listScroll) listScroll.refresh(); if(zoomed_in && follow_vehicle == vcallsign && !manual_pan) panTo(follow_vehicle); - if(follow_vehicle == vcallsign) drawLOSPaths(vcallsign); + if (follow_vehicle == vcallsign) { + update_lookangles(follow_vehicle); + drawLOSPaths(vcallsign); + } } // step to the next callsign