I'm using the following code to return the distance between two
addresses. I'm trying to integrate error handling if one of the
addresses isn't recognized, but I can't determine what gets returned
if one of the addresses isn't recognized.
gdir = new google.maps.Directions();
google.maps.Event.addListener(gdir, "load", handleLoad);
gdir.load("from: "+from+" to: "+to, {getSteps: true});
Any help would be appreciated.
Thanks!
Justin Higley
Director of Creative Services
Hospitality Media Consultants
Orlando, FL
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---