@@ -2706,7 +2706,7 @@ function mapInfoBox_handle_path_old(vehicle, id) {
27062706 html = "<div style='line-height:16px;position:relative;'>" ;
27072707 html += "<div>" + data . serial + " <span style=''>(" + data . datetime + ")</span></div>" ;
27082708 html += "<hr style='margin:5px 0px'>" ;
2709- html += "<div style='margin-bottom:5px;'><b><i class='icon-location'></i> </b>" + roundNumber ( data . lat , 5 ) + ', ' + roundNumber ( data . lon , 5 ) + "</div>" ;
2709+ html += "<div style='margin-bottom:5px;'><b><i class='icon-location'></i> </b>" + format_coordinates ( data . lat , data . lon , data . serial ) + "</div>" ;
27102710
27112711 var imp = offline . get ( 'opt_imperial' ) ;
27122712 var text_alt = Number ( ( imp ) ? Math . floor ( 3.2808399 * parseInt ( data . alt ) ) : parseInt ( data . alt ) ) . toLocaleString ( "us" ) ;
@@ -2781,7 +2781,7 @@ function mapInfoBox_handle_path_new(data, vehicle, date) {
27812781 html = "<div style='line-height:16px;position:relative;'>" ;
27822782 html += "<div>" + data . serial + " <span style=''>(" + date + ")</span></div>" ;
27832783 html += "<hr style='margin:5px 0px'>" ;
2784- html += "<div style='margin-bottom:5px;'><b><i class='icon-location'></i> </b>" + roundNumber ( data . lat , 5 ) + ', ' + roundNumber ( data . lon , 5 ) + "</div>" ;
2784+ html += "<div style='margin-bottom:5px;'><b><i class='icon-location'></i> </b>" + format_coordinates ( data . lat , data . lon , data . serial ) + "</div>" ;
27852785
27862786 var imp = offline . get ( 'opt_imperial' ) ;
27872787 var text_alt = Number ( ( imp ) ? Math . floor ( 3.2808399 * parseInt ( data . alt ) ) : parseInt ( data . alt ) ) . toLocaleString ( "us" ) ;
@@ -4636,7 +4636,7 @@ function updateRecoveryMarker(recovery) {
46364636 html = "<div style='line-height:16px;position:relative;'>" ;
46374637 html += "<div><b>" + recovery . serial + ( recovery . recovered ? " Recovered" : " Not Recovered" ) + "</b></div>" ;
46384638 html += "<hr style='margin:5px 0px'>" ;
4639- html += "<div style='margin-bottom:5px;'><b><i class='icon-location'></i> </b>" + roundNumber ( recovery . lat , 5 ) + ', ' + roundNumber ( recovery . lon , 5 ) + "</div>" ;
4639+ html += "<div style='margin-bottom:5px;'><b><i class='icon-location'></i> </b>" + format_coordinates ( recovery . lat , recovery . lon , recovery . serial ) + "</div>" ;
46404640
46414641 var imp = offline . get ( 'opt_imperial' ) ;
46424642 var text_alt = Number ( ( imp ) ? Math . floor ( 3.2808399 * parseInt ( recovery . alt ) ) : parseInt ( recovery . alt ) ) . toLocaleString ( "us" ) ;
@@ -4748,7 +4748,7 @@ function updateRecoveryPane(r){
47484748
47494749 html += "<div style='line-height:16px;position:relative;'>" ;
47504750 html += "<div><b><u>" + r [ i ] . serial + ( r [ i ] . recovered ? " Recovered by " : " Not Recovered by " ) + r [ i ] . recovered_by + "</u></b></div>" ;
4751- 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>" ;
4751+ 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>" ;
47524752
47534753 var imp = offline . get ( 'opt_imperial' ) ;
47544754 var text_alt = Number ( ( imp ) ? Math . floor ( 3.2808399 * parseInt ( alt ) ) : parseInt ( alt ) ) . toLocaleString ( "us" ) ;
0 commit comments