mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Replace "deg" as unit by "°"
This commit is contained in:
@@ -90,7 +90,7 @@ function onMapMove(event) {
|
||||
break;
|
||||
}
|
||||
|
||||
$('#bearing').html(distance.deg + ' deg');
|
||||
$('#bearing').html(distance.deg + '°');
|
||||
$('#distance').html(Math.round(distance.distance * 10) / 10 + ' ' +unit);
|
||||
};
|
||||
|
||||
@@ -130,7 +130,7 @@ function onMapClick(event) {
|
||||
|
||||
|
||||
var distance = Math.round(result.distance * 10) / 10 + ' ' +unit;
|
||||
var bearing = Math.round(result.deg * 10) / 10 + ' deg';
|
||||
var bearing = Math.round(result.deg * 10) / 10 + '°';
|
||||
var popupmessage = '<div class="popup">' +
|
||||
'From gridsquare: ' + homegrid + '<br />To gridsquare: ' + locator +'<br />Distance: ' + distance+ '<br />Bearing: ' + bearing +
|
||||
'</div>';
|
||||
|
||||
Reference in New Issue
Block a user