Search

e85andyou

New Member
Messages
49
Reaction score
0
Points
0
I have a list of addresses and businesses and I would like for my visitors to be able to enter their zipcode and it show all addresses within 50 miles.

If anyone can help I am completely lost

Thank You Ahead of time
 

Scoochi2

New Member
Messages
185
Reaction score
0
Points
0
  • Save a list of the businesses, their latitudes and longitudes as an array on your server.
  • Have some way of converting a zipcode into latitude and longitude.
  • Search the lat/long list of businesses for anything in a radius of 50 miles of the location of the user. This should be fairly arbitrary using basic mathematics.
  • Output the entire list of results in some order (ie, give a choice of which businesses they want).
Or alternatively... use Google Maps.
 

e85andyou

New Member
Messages
49
Reaction score
0
Points
0
I have a list of all the zips with latitude and long but I have no idea how to compile all the information to make it work I am looking for someone that may be able to help me get it done.
 
Top