diff --git a/images/bearing.svg b/images/bearing.svg new file mode 100644 index 0000000..f69d466 --- /dev/null +++ b/images/bearing.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/js/src/mapviewmodel.js b/js/src/mapviewmodel.js index d89808d..fb5affb 100644 --- a/js/src/mapviewmodel.js +++ b/js/src/mapviewmodel.js @@ -188,6 +188,7 @@ export default class MapViewModel extends ViewModel { ${(pos.speed !== null) ? `${$._('speed')}${$.getLocaleSpeed(pos.speed, true)}
` : ''} ${(pos.altitude !== null) ? `${$._('altitude')}${$.getLocaleAltitude(pos.altitude, true)}
` : ''} ${(pos.accuracy !== null) ? `${$._('accuracy')}${$.getLocaleAccuracy(pos.accuracy, true)}${provider}
` : ''} + ${(pos.bearing !== null) ? `${$._('bearing')}${pos.bearing}°
` : ''} ${$._('position')}${$.getLocaleCoordinates(pos)}
${stats}
${$._('pointof', id + 1, count)}
${editLink}
`; diff --git a/lang/en.php b/lang/en.php index 371289a..06649a1 100644 --- a/lang/en.php +++ b/lang/en.php @@ -64,6 +64,7 @@ $lang["speed"] = "Speed"; $lang["accuracy"] = "Accuracy"; $lang["position"] = "Position"; $lang["altitude"] = "Altitude"; +$lang["bearing"] = "Bearing"; $lang["ttime"] = "Total time"; $lang["aspeed"] = "Average speed"; $lang["tdistance"] = "Total distance";