Round off the distance to the nearest turn in guidance mode
Bug #1612701 reported by
Alexey Kulik
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uNav |
Fix Released
|
Wishlist
|
costales |
Bug Description
In guidance mode, uNav shows the value of the distance to the nearest turn to the accuracy of 1 meter (with metric system set in preferences). Such high precision is redundant. There is no need for a driver to know the distance that accurately. Moreover, constantly changing numbers distract. Besides, the accuracy of GPS positioning is generally not that high. The latter in addition leads to the fact that numbers are flickering when the device is motionless, for example, when you stand at the traffic lights.
So I propose to round off the distance. Rounding to the accuracy of 10 meters seems reasonable.
Related branches
lp://staging/~costales/unav/0.63
-
Diff: 1669 lines (+611/-270)15 files modifiedapp-dispatcher.json (+4/-0)
manifest.json (+1/-1)
nav/class/Maths.js (+20/-8)
nav/class/Navigator.js (+180/-24)
nav/class/UI.js (+28/-4)
nav/class/WebAPI.js (+9/-5)
nav/index.html (+13/-1)
po/unav.pot (+251/-161)
qml/AboutPage.qml (+5/-3)
qml/Location.qml (+1/-1)
qml/Main.qml (+7/-5)
qml/PoiQuickAccessPage.qml (+1/-1)
qml/SettingsPage.qml (+63/-44)
qml/Share.qml (+1/-1)
qml/js/utils.js (+27/-11)
Changed in unav: | |
milestone: | none → 0.64 |
milestone: | 0.64 → 0.63 |
status: | Triaged → In Progress |
assignee: | nobody → costales (costales) |
Changed in unav: | |
status: | In Progress → Fix Committed |
Changed in unav: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for the feedback, but there is so critical code in there and I don't want more calculates by second :)