Sorry, I now realize that my post was extremely vague.

I'm actually trying to do the following:

I want there to be a text field where users enter a topic name, and
then I want another field where users can do a search for an address
with the small map.

I don't want visible text fields for latitude and longitude, I just
want that information to be save in the same place (a table within the
new page called GeographicInformation)




On Jan 17, 5:43 pm, "David J. Burger" <[email protected]> wrote:
> 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#_callb...
>
> 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