diff options
author | 2020-01-03 11:23:36 -0500 | |
---|---|---|
committer | 2020-01-03 11:27:32 -0500 | |
commit | bbbc193fbd9bc0252080b3ad8f48c2cf452aad69 (patch) | |
tree | 1da2445d039ff592a8e5276e78ca05308ad51393 /app/BtnGuidance.qml | |
parent | 992ab22d9eaa9e62138647bba833a1cb83185a32 (diff) |
Further re-center behavior improvementshalibut_8.0.6halibut_8.0.5halibut/8.0.6halibut/8.0.58.0.68.0.5halibut
Add logic to enable re-center button when the view is centered but
zoomed in/out, for consistency. Additionally, re-center when
routing is started to improve user experience.
Bug-AGL: SPEC-3081
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I6aa4686f5cb177f819fdee07d76dfa397c20179c
Diffstat (limited to 'app/BtnGuidance.qml')
-rw-r--r-- | app/BtnGuidance.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/BtnGuidance.qml b/app/BtnGuidance.qml index 11955f5..4dea819 100644 --- a/app/BtnGuidance.qml +++ b/app/BtnGuidance.qml @@ -31,6 +31,8 @@ Item { btn_present_position.state = "Flowing" btn_guidance.sts_guide = 2 btn_guidance.state = "onGuide" + map.zoomLevel = default_zoom_level + map.bearing = 0 } function discardWaypoints(startFromCurrentPosition) { |