On Nov 9, 2:40 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm going to try and not look like a newbie here and please believe me > when i say I've tried to work out how to do it but cant...
(a) What is gDirections in line 94? You haven't defined it. I'm guessing it's supposed to be route. I'm not sure what that section of code is designed to do. (b) If all you want is the total distance, its dirn.getDistance().html. dirn holds the complete route, so get the distance of that. Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
