I'm not exactly sure what you are trying to do, it looks like you just
want the latitude and longitude fields to be filled in upon completion
of the search.  If that is the case, first off, it appears you may
want a GClientGeocoder instead of a LocalSearch.  However, the
information on setting a callback function upon the completion of a
LocalSearch search is here:

http://www.google.com/uds/solutions/localsearch/reference.html#_callbacks

You would want to put a callback function in the options you are
passing to the LocalSearch that pulls the lat / lng out of the results
and places them in your text fields.  So your starting point would be
to set up your options something like this:

options.onSearchCompleteCallback = function(searcher) {
  // ... your code here to pull out the results
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to