Search by Zip Code and Distance |
I found this PDF very helpful when doing something similar on a website I work on:
http://www.arubin.org/files/geo_search.pdf If somebody is giving you their zip, then why not their address? Once you have the address, getting the geo coordinates from Google is simple, then use the coordinates in a mysql query to get all locations within your radius. Order by distance of course. |
Messages In This Thread |
Search by Zip Code and Distance - by tom756 - 05-11-2017, 10:38 AM
RE: Search by Zip Code and Distance - by PaulD - 05-11-2017, 10:59 AM
RE: Search by Zip Code and Distance - by Martin7483 - 05-11-2017, 12:18 PM
RE: Search by Zip Code and Distance - by xenomorph1030 - 05-12-2017, 05:13 AM
RE: Search by Zip Code and Distance - by tom756 - 05-12-2017, 01:02 PM
RE: Search by Zip Code and Distance - by skunkbad - 05-12-2017, 01:12 PM
|