[Google Maps API v3] Re: step by step coordinates

2011-11-29 Thread Janusz Kobylarz
OK i found it alert(result.routes[0].legs[0].steps[0].distance.text); display the step[0] length from this example you can now do what you want :) -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the w

[Google Maps API v3] Re: step by step coordinates

2011-11-29 Thread Janusz Kobylarz
>From direction result result.routes[0].overview_path i.e alert(result.routes[0].overview_path); show the lat , lng but more than steps http://code.google.com/intl/pl-PL/apis/maps/documentation/javascript/services.html#Routes try to call that same with steps -- You received this message beca

[Google Maps API v3] Re: step by step coordinates

2011-11-28 Thread geocode...@gmail.com
On Nov 28, 8:53 am, JoniGiuro wrote: > Hi, I want to start using the google maps API and I was wondering if > it's possible to get an array of coordinates for a given direction. > I know google can return coordinates for steps, but what I need should > be more precise. > Example: > I want the coor