On Dec 2, 10:13 pm, venkat rathnam <[email protected]> wrote:
> Hi,
> I want to calculate the distance between markers for that please send me
> sample code..

Does this not do what you want?
http://code.google.com/apis/maps/documentation/reference.html#GDirections.getDistance

(for example code, see Mike Williams' tutorial and the examples in the
documentation)

  -- Larry


>
> On Wed, Dec 2, 2009 at 4:39 PM, Mike Williams 
> <[email protected]>wrote:
>
>
>
> > GDirections is asynchronous. You can't get the polyline data immediately
> > after sending the request, you can only get it after the reply comes
> > back.
>
> > Try listening for the "load" event.
>
> > --
> > Mike Williams
> >http://econym.org.uk/gmap
>
> > --
>
> > 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]<google-maps-api%2Bunsubscribe@ 
> > googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-api?hl=en.
>
> --
> B.VenkataRathnam

--

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