On Jun 24, 9:35 am, fraser1980 <[email protected]> wrote: > I have implemented a map with directions to a fixed location on a site > I am building. The problem is, directions are only returned for > specific 'from' locations. ie. if I enter 'Croydon', directions are > pulled back fine, but if I enter 'Camberley' nothing is returned. > Inputting 'Camberley, Surrey' does however give me directions. > > Is there any way to handle these instances?
Listen for an "error" event from your GDirections: http://code.google.com/apis/maps/documentation/reference.html#GDirections.GDirections and act on it however you determine is appropriate. -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
