I found the answer. I didn't use direction panel. But i don't need to use
direction panel. What slould I do, if i need to use Gstep, but don't need to
use DirectionPanel?

2009/9/2 [email protected] <[email protected]>

>
> On Sep 1, 2:18 pm, petRUShka <[email protected]> wrote:
> > There is a way:
> http://maps.google.ru/maps?f=d&source=s_d&saddr=%D0%A9%D0%B5%D0%BB%D0...
> >
> > The way has more then one Route and Route.Step.
> >
> > If i try to use getNumRoutes(), I recieve 1.
> > If i try getRoute(0).getNumSteps(), I recieve 1.
> >
> > How can I recieve real values?
> Thats funny.  If I do it on this map:
>
> http://www.geocodezip.com/example_geo2.asp?addr1=(55.80953,37.79858)&addr2=(55.652544,37.738316)&geocode=1&geocode=2<http://www.geocodezip.com/example_geo2.asp?addr1=%2855.80953,37.79858%29&addr2=%2855.652544,37.738316%29&geocode=1&geocode=2>
>
> Like this (in the address bar):
> javascript:GLog.write(gdir.getRoute(0).getNumSteps())
>
> I get 9.
>
>  -- 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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to