maxmagee / chick-fil-a

(Old Version. See README) Recreating the Chick-fil-A App in React Native.
2 stars 0 forks source link

Research Mapping #26

Open maxmagee opened 6 years ago

maxmagee commented 6 years ago

I'll use this case to track some research needed in order to implement mapping of store locations in the application.

Use Case: We need to be able to filter the list of locations down to only the locations that are within a certain distance from our current location and then plot those on the map.

It appears as though the Haversine Formula might be the correct approach in finding the distance between two given coordinates on a sphere.

This package warrants further investigation.

Findings: I implemented a proof of concept program in node in server\location-tester that filters down the locations from our JSON file based on the Haversine Distance to the current location.