communityconnect icon indicating copy to clipboard operation
communityconnect copied to clipboard

Distance from current location is not being shown correctly on OrganizationCard

Open DavidNoftsier opened this issue 8 years ago • 0 comments

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.

distancecalculatedfrommylocation distancefrommylocationtofriendlygarden

DavidNoftsier avatar Oct 26 '18 14:10 DavidNoftsier