On May 6, 8:13 am, hari <[email protected]> wrote:
> Please help me to use the  GDirections.getDistance() functionality in
> google mapapi.
> I cant understand how it can be implemented in my program.
> Any suggestions will be appreciated.

I suggest posting a link to what you have so far.

The documentation says that GDirections.getDistance() returns an
object literal with two fields, "meters" (spelled that way) and
"html". That means you actually get something like {meters:
2650,html:"2.65km"} and you reference them with .meters and .html:

GDirections.getDistance().meters

If that doesn't help, you will need to post a link. DON'T post code.
(See the posting guidelines at 
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines)

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

Reply via email to