Display in range addresses within x miles of a geo location with google maps

dibifyicy

New Member
In my database I have a list of places and for each I have a street name and number, postcode, city and county. Some of them have a latitude and longitude location.And I have the geo location of the city centre for example. I would like to display only the places that are within X miles of the city centre on a google map.Incase this would need a geo location for each of my places to work, I could perhaps set up a script to use google maps api to use geocoding to get a geo location for all my places and update the database with the lat/lng. Then I would have a database full of lat and long locations to work from.Once all the places have a lat/lng then maybe mysql can return the within range addresses?
 
Back
Top