Last post Mar 29, 2014 03:52 AM by smirnov
Mar 28, 2014 03:30 PM|runner15|LINK
I want to create a google map where I type in a zipcode and then will show on my map the top 5 out of 30 places closest to that location shown with a marker?
Mar 29, 2014 03:52 AM|smirnov|LINK
Zip code does not include geo data and can't be automatically resolved to coordinates on the map. This means you either need to
a) automatically resolve zip code to coordinates on every request (called geocoding https://developers.google.com/maps/documentation/geocoding/#GeocodingRequests)
b) resolve all zips to coordinates once and save them in the database
c) get a database zip-coordinates for your country, so you can automatically query coordinates in sql