On Sep 2, 4:58 am, "Maxim P." <[email protected]> wrote:
> 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?
use {getSteps:true}
http://econym.org.uk/gmap/steps.htm
+ Don't forget to use {getSteps:true} otherwise there won't be any
GRoute or
+ GStep information to process
-- Larry
>
> 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)&...<http://www.geocodezip.com/example_geo2.asp?addr1=%2855.80953,37.79858...>
>
> > 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
-~----------~----~----~----~------~----~------~--~---