Hi,
Please go easy - I'm a complete iPhone programming virgin!
I think what I am trying to do is fairly simple but any advice would be greatly appreciated. I am considering developing an iPhone app where users can submit the name and location of a particular type of business. A central server will store this info (coordinates and name), once it has been approved, and users will be able to search for these businesses within 10 miles of their current location.
Now, what would be the best way to conduct this search? I know we can get the users current position (coordinates) but what would be the best way to compare this to the coordinates in the central database and find how many business are located within 10 miles of their current location?
Many thanks!
jon
Please go easy - I'm a complete iPhone programming virgin!
I think what I am trying to do is fairly simple but any advice would be greatly appreciated. I am considering developing an iPhone app where users can submit the name and location of a particular type of business. A central server will store this info (coordinates and name), once it has been approved, and users will be able to search for these businesses within 10 miles of their current location.
Now, what would be the best way to conduct this search? I know we can get the users current position (coordinates) but what would be the best way to compare this to the coordinates in the central database and find how many business are located within 10 miles of their current location?
Many thanks!
jon