Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imperial units show up in odd amounts at scale <1 #986

Open
saurya opened this issue Dec 21, 2021 · 1 comment
Open

Imperial units show up in odd amounts at scale <1 #986

saurya opened this issue Dec 21, 2021 · 1 comment

Comments

@saurya
Copy link

saurya commented Dec 21, 2021

Screen Shot 2021-12-20 at 8 40 32 PM

At scale 0.5, we see 2640 feet, it would be more sensible to the user if it said 2500 feet and the scale bar actually measured out to that.
@saurya
Copy link
Author

saurya commented Dec 21, 2021

If the scales that were used for imperial <1 were instead:
0.0095,
0.0190,
0.0474,
0.0947,
0.1894,
0.4735

instead of:
0.01,0.02,0.05,0.1,0.2,0.5

then the rest of the code could stay the same. This would mean a separate set of scales for Imperial that would need to get switched out in the setScale method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant