When i call this method from another function:
"point" keeps being undefined!!

function example(location){
var point = showAddress(location);
//why is point null??
}

function showAddress(address) {
                       var geocoder = new GClientGeocoder();
                       geocoder.getLatLng(address, function(point) {
                               if (!point) {
                                       alert(address + " not found");
                               } else {
                                       return point;
                               }
                       }
               );
       }

thanks,
tabetan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to