communityconnect
communityconnect copied to clipboard
Distance from current location is not being shown correctly on OrganizationCard
Expected behavior: When accepting the browsers request to use location, the users current location should be loaded into the application and used when measuring the distance to organizations (as seen on the OrganizationCard components)
Actual behavior: The distance shown on the OrganizationCard components is inaccurate.
I checked and all of the correct coordinates are getting fed into the getDistance function, so I think there is something wonky with the algorithm itself.
