Location searches based on delivery radius


#1

Hi,

The scenario i'm looking at is one equitable to trying to find a takeaway that'll deliver to a location.

i.e.

  • You have a list of takeaway location with a lat/long point.
  • Each point has a max distance that the takeaway is willing to travel from the base point.

What is the best way of storing this information and doing a search such as a customer enters their location and it returns all the takeaways that will deliver to the customers location.

Any help would be appreciated.

Lee


(system) #2