diff --git a/src/components/Map.vue b/src/components/Map.vue
index d0a755e..f236ef4 100644
--- a/src/components/Map.vue
+++ b/src/components/Map.vue
@@ -248,7 +248,7 @@ export default {
// If heading is specified
if (this.headingInRadiansFromNorth !== null) {
const rotation = (this.isInAutorotateMap
- ? - this.map.getView().getRotation() - Math.PI / 2
+ ? -this.map.getView().getRotation() - Math.PI / 2
: (
this.headingInRadiansFromNorth
+ this.map.getView().getRotation()
@@ -365,6 +365,7 @@ export default {
rotateOptions: {
autoHide: false,
label: rotateLabel,
+ tipLabel: this.$t('map.toggleRotationMode'),
resetNorth: () => {
// Switch autorotate mode
this.hasUserAutorotateMap = !this.hasUserAutorotateMap;
diff --git a/src/i18n/en.json b/src/i18n/en.json
index 4f2d9e1..08ae8b5 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -44,7 +44,8 @@
"pickALocationManually": "pick a location manually"
},
"map": {
- "attribution": "Map data \u00a9 OpenStreetMap contributors"
+ "attribution": "Map data \u00a9 OpenStreetMap contributors",
+ "toggleRotationMode": "Toggle rotation mode"
},
"menu": {
"About": "Help",