On Nov 12, 8:34 pm, ranjitha <[email protected]> wrote: > Hi, > > Am developing an application where I have to locate my stores along > (and around) any route chosen by the user. Is it possible for me to > obtain how google computes the driving directions, so that I will get > the lat-long of all points along the route? > I tried using getPolyline() of the route and then taking getVertex() > from the polyline, but am not sure of the syntax to use it and so didn > get the result. > > Can someone help me with this or any other method to obtain the same? >
http://www.geocodezip.com/example_geo2.asp see the code for: getPolylineXml() (it is more complicated than you need, but it works...) You could also look through Mike Williams' tutorial, he has a couple of examples. --- 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=.
