@@ -2668,7 +2668,7 @@ function mapInfoBox_handle_path_old(vehicle, id) {
26682668 html = "<div style='line-height:16px;position:relative;'>" ;
26692669 html += "<div>" + data . serial + " <span style=''>(" + data . datetime + ")</span></div>" ;
26702670 html += "<hr style='margin:5px 0px'>" ;
2671- html += "<div style='margin-bottom:5px;'><b><i class='icon-location'></i> </b>" + roundNumber ( data . lat , 5 ) + ', ' + roundNumber ( data . lon , 5 ) + "</div>" ;
2671+ html += "<div style='margin-bottom:5px;'><b><i class='icon-location'></i> </b>" + format_coordinates ( data . lat , data . lon , data . serial ) + "</div>" ;
26722672
26732673 var imp = offline . get ( 'opt_imperial' ) ;
26742674 var text_alt = Number ( ( imp ) ? Math . floor ( 3.2808399 * parseInt ( data . alt ) ) : parseInt ( data . alt ) ) . toLocaleString ( "us" ) ;
@@ -2743,7 +2743,7 @@ function mapInfoBox_handle_path_new(data, vehicle, date) {
27432743 html = "<div style='line-height:16px;position:relative;'>" ;
27442744 html += "<div>" + data . serial + " <span style=''>(" + date + ")</span></div>" ;
27452745 html += "<hr style='margin:5px 0px'>" ;
2746- html += "<div style='margin-bottom:5px;'><b><i class='icon-location'></i> </b>" + roundNumber ( data . lat , 5 ) + ', ' + roundNumber ( data . lon , 5 ) + "</div>" ;
2746+ html += "<div style='margin-bottom:5px;'><b><i class='icon-location'></i> </b>" + format_coordinates ( data . lat , data . lon , data . serial ) + "</div>" ;
27472747
27482748 var imp = offline . get ( 'opt_imperial' ) ;
27492749 var text_alt = Number ( ( imp ) ? Math . floor ( 3.2808399 * parseInt ( data . alt ) ) : parseInt ( data . alt ) ) . toLocaleString ( "us" ) ;
@@ -4611,7 +4611,7 @@ function updateRecoveryMarker(recovery) {
46114611 html = "<div style='line-height:16px;position:relative;'>" ;
46124612 html += "<div><b>" + recovery . serial + ( recovery . recovered ? " Recovered" : " Not Recovered" ) + "</b></div>" ;
46134613 html += "<hr style='margin:5px 0px'>" ;
4614- html += "<div style='margin-bottom:5px;'><b><i class='icon-location'></i> </b>" + roundNumber ( recovery . lat , 5 ) + ', ' + roundNumber ( recovery . lon , 5 ) + "</div>" ;
4614+ html += "<div style='margin-bottom:5px;'><b><i class='icon-location'></i> </b>" + format_coordinates ( recovery . lat , recovery . lon , recovery . serial ) + "</div>" ;
46154615
46164616 var imp = offline . get ( 'opt_imperial' ) ;
46174617 var text_alt = Number ( ( imp ) ? Math . floor ( 3.2808399 * parseInt ( recovery . alt ) ) : parseInt ( recovery . alt ) ) . toLocaleString ( "us" ) ;
@@ -4723,7 +4723,7 @@ function updateRecoveryPane(r){
47234723
47244724 html += "<div style='line-height:16px;position:relative;'>" ;
47254725 html += "<div><b><u>" + r [ i ] . serial + ( r [ i ] . recovered ? " Recovered by " : " Not Recovered by " ) + r [ i ] . recovered_by + "</u></b></div>" ;
4726- html += "<div style='margin-bottom:5px;'><b><button style='margin-bottom:0px;' onclick='panToRecovery(\"" + r [ i ] . serial + "\")'><i class='icon-location'></i></button> </b>" + roundNumber ( lat , 5 ) + ', ' + roundNumber ( lon , 5 ) + "</div>" ;
4726+ html += "<div style='margin-bottom:5px;'><b><button style='margin-bottom:0px;' onclick='panToRecovery(\"" + r [ i ] . serial + "\")'><i class='icon-location'></i></button> </b>" + format_coordinates ( lat , lon , r [ i ] . serial ) + "</div>" ;
47274727
47284728 var imp = offline . get ( 'opt_imperial' ) ;
47294729 var text_alt = Number ( ( imp ) ? Math . floor ( 3.2808399 * parseInt ( alt ) ) : parseInt ( alt ) ) . toLocaleString ( "us" ) ;
0 commit comments