> I am at a loss. Please help If you want to do something with the data returned from an asynchronous function, you need to do it within the callback. In your case, instead of putting the value in an HTML element, use it to create (or update) a marker.
You can't return anything from an asynchronous function, there is nowhere to return it to. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
