Thanks to all.....
Now I m able to do what I want....

Regards


On Sep 24, 1:08 pm, Mike Williams <[EMAIL PROTECTED]> wrote:
> Wasn't it hidayat who wrote:
>
>
>
> >The Method I m using is given below
> >function getDistanceBtTwoPoints(pnt1,pnt2)
> >  {
>
> >                var di = new GDirections();
> >                var pointsArray = [pnt1,pnt2];
> >                di.loadFromWaypoints(pointsArray);
> >                 var distance = di.getDistance().meters;
> >                 return distance;
>
> >    }
>
> GDirections.load() is asynchronous. You have to listen for its "load"
> event before calling .getDistance() on the information that got loaded.
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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