On Sep 17, 8:05 am, Zoltan Toth <[email protected]> wrote: > I'm trying to combine Geocoding with Places, so users can search for > businesses not from one given hardcoded location only like in this > example > -http://gmaps-samples-v3.googlecode.com/svn/trunk/localsearch/places.html, > but entering their address and get all the "pizza" restaurants in that > particular area. > But I get stuck how to implement and call Geocoding to receive the Lat > and Long in the Places script required to center the map and search > the businesses accordingly. Any clues how to do that?
What have you tried to do (can you post a link to _your_ map that shows what you are trying to do that doesn't work)? Geocoding is asynchronous, so you will have to make use of the results inside the callback function. -- Larry > Thanks! -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
