[thelist] ?? How To: Search Zip Codes within x Miles ??

jason.handby jason.handby at corestar.co.uk
Fri Jan 19 09:14:07 CST 2007


Hi Casey,


> We've all seen the tools that allow you to search for a 
> business within 10, 50, 100, 500 miles of a given zip code.  
> Can anyone point me in the direction of how this is done?  We 
> have not yet determined if the site will be in PHP or .NET, 
> so we are open to all suggestions.


Basically you need to find the coordinates of a given zip code, and then
compare it to the coordinates of each of your branches to calculate how
far away they are.

Mapping companies like Multimap offer APIs that you can use to get this
information. I suggest you contact them for more details.

  http://www.multimap.com/static/business10.htm



Jason



More information about the thelist mailing list