Repository navigation
[NMA-1110] (Explore Dash) Distance from user - #834
Conversation
| return !isO3Country.equals("usa", true) && | ||
| !isO3Country.equals("mmr", true) |
There was a problem hiding this comment.
I was curious about this list of non-metric countries. When I was in England, I noticed that they are still using miles on distance on roads, though most of their measurements were metric.


https://en.wikipedia.org/wiki/Road_speed_limits_in_the_United_Kingdom
Also, Liberia is noted as not using the metric system in some older articles.
There was a problem hiding this comment.
Yes, I know of Britain's case - it seems to be very mixed there, officially metric but uses imperial a lot. I assumed it's acceptable to set any option for them as a default, but it seems to be that road distances are mostly imperial still. We can add them to this list until we see any complaints.
As for Liberia - yes, seems like it's also in the list of "special" countries that use imperial exclusively, I missed that. Will fix.
ClaudeHangui
left a comment
There was a problem hiding this comment.
Looks alright for me !
We want to show distance from user to a merchant/atm if location services are enabled.
Issue being fixed or feature implemented
Calculate distance for all items if location services are enabled and display it in UI.
Related PR's and Dependencies
Screenshots / Videos
How Has This Been Tested?
Checklist: