mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-21 18:52:18 +00:00
routeDistanceText checked the raw meters against 1000 but printed them rounded to tens, so 995 m or more read "1000 m". Compare the rounded value so it moves to kilometres.
4 lines
179 B
Markdown
4 lines
179 B
Markdown
- Show a route leg of 995 m or more as 1.0 km. The route summary and step
|
|
cards kept meters below 1000, then rounded 996 m up to "1000 m"
|
|
(Rudy Celekli, @rudycelekli, #1386).
|