On Dec 14, 11:40 am, Pileggi <[email protected]> wrote: > On 14 Dic, 19:05, Andrew Leach <[email protected]> wrote: > > > At some point the geocoder gets its result and runs the callback > > function, but by that stage your showAddress function has already > > returned its risultato variable. > > > Everything you need to do with the geocoder's result must be within > > the callback function. > > > Andrew > > Ok, thank you very much! Then the answer is: how can I return the > value from the callback function? (is it possible?)
You need to _use_ the value in the call back function. What are you trying to accomplish? I would suggest that you either look through Mike Williams tutorial: http://econym.org.uk/gmap/ for ideas or post a link to your map that shows what you are trying to do so we can advise you on your options. -- Larry -- 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.
