On Jun 17, 10:44 pm, Benê <[email protected]> wrote: > > I need help for develop app using just postal code for searches using > maps api. My users will enter your zip code in a form on my website > that will store in my Database MySql and my maps app will request the > location using this zip code in my database. How can I get the api > only the zip code in my DB?
So your database will contain a zipcode for each user, and then you want to geocode that zipcode to display a map? That's inefficient. A better way of doing this would be to store the zipcode in the database *and* its geocoded coordinates. You could even check whether the zipcode already exists (eg by having a normalised table of zipcodes) and only geocode it if you haven't already got it. Or, you could get the user to geocode their own position by using something like John's utility http://maps.huge.info/pinpointaddress.htm, and storing the *actual* location in the DB instead of a generalised zipcode location. When the user enters the zipcode, show the map and get them to move the marker; then send the marker's location back to the DB along with the rest of the form data. -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
