clientGeocoder.getLatLng(address, function(latLng) {
            Whatever it is you need to do with the results, do it here
        });


>   return pin;

The return is executed before the asynchronous results come back.
You can't return anything meaningful, you need to use results in the
callback.

-- 
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