Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Round distances #101

Open
lederer opened this issue Jun 19, 2018 · 0 comments
Open

Round distances #101

lederer opened this issue Jun 19, 2018 · 0 comments

Comments

@lederer
Copy link
Contributor

lederer commented Jun 19, 2018

This is an extreme example, but it helps illustrate the point:

image

Here's an initial stab at rounding logic:

  • > 3 miles: round to nearest mile
  • 1 – 3 miles: round to nearest 1/2 mile
  • 1/4 mile – 1 mile: round to nearest 1/4 mile
  • < 1/4 mile: display as (rounded) feet
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant