> I am trying to create a generic function as below. no error reported, > but no mag shows up either. can somebody help?
Geocoding is asynchronous. You can't 'return' any value from its callback function. You need to do whatever it is you want to do with the results, inside the callback function. http://code.google.com/apis/maps/documentation/javascript/services.html#Geocoding -- 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.
