File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ var svgRenderer = L.svg();
7070
7171var modeList = [
7272// "Position",
73+ "0" ,
7374 "15s" ,
7475 "1m" ,
7576 "30m" ,
@@ -477,7 +478,7 @@ function load() {
477478 onAdd : function ( map ) {
478479 var div = L . DomUtil . create ( 'div' ) ;
479480
480- div . innerHTML = '<select name="timeperiod" id="timeperiod" style="width:auto !important;height:30px;" onchange="clean_refresh(this.value)"><option value="1h">1 hour</option><option value="3h" selected="selected">3 hours</option><option value="6h">6 hours</option><option value="12h">12 hours</option></select>' ;
481+ div . innerHTML = '<select name="timeperiod" id="timeperiod" style="width:auto !important;height:30px;" onchange="clean_refresh(this.value)"><option value="0">Live Only</option><option value=" 1h">1 hour</option><option value="3h" selected="selected">3 hours</option><option value="6h">6 hours</option><option value="12h">12 hours</option></select>' ;
481482 div . innerHTML . onload = setTimeValue ( ) ;
482483
483484 return div ;
@@ -4223,7 +4224,10 @@ function update(response) {
42234224
42244225 if ( listScroll ) listScroll . refresh ( ) ;
42254226 if ( zoomed_in && follow_vehicle == vcallsign && ! manual_pan ) panTo ( follow_vehicle ) ;
4226- if ( follow_vehicle == vcallsign ) drawLOSPaths ( vcallsign ) ;
4227+ if ( follow_vehicle == vcallsign ) {
4228+ update_lookangles ( follow_vehicle ) ;
4229+ drawLOSPaths ( vcallsign ) ;
4230+ }
42274231 }
42284232
42294233 // step to the next callsign
You can’t perform that action at this time.
0 commit comments