On Jan 16, 6:55 pm, NickUk <[email protected]> wrote:
> I am trying to get the distance of a GDirections.load operation. The
> load works fine: lines on the map, directions in the pane. However, I
> need to textually access and display the distance. But, all I get is
> undefined; I get this for all of the GDirection object's methods.
>
> Please can you help. I am 100% certain the following code is in need
> of checking:

Have you seen the posting guidelines?
http://groups.google.com/group/google-maps-api/web/suggested-posting-guidelines
and
http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical

I would suggest you review the examples in the documentation and in
Mike Williams' tutorial:
http://econym.org.uk/gmap/

Take a try.  Post a link to your map that shows the problem (not code)
if you still run into trouble.

  -- 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.


Reply via email to