> I noticed in the example link below from the API documentation that if > you put in some fields such as London to New York you get a > javascript: ' An unknown error occurred' message > > Could anyone tell me why this happens
It happens because the directions server can't come up with a sensible (overland) route from London to New York. The relatively simple examples check for a few common errors, but any others such as this get lumped in as 'unknown'. Do a 'veiw source' in your browser to see the error handler. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
