to use travel mode walking you need to provide one div to show the route
steps in the GMap2 constructor (second parameter)

On Thu, May 20, 2010 at 9:02 PM, buttman <[email protected]> wrote:

>
>
> On May 20, 7:55 pm, Andrew Leach <[email protected]>
> wrote:
> > On May 21, 12:32 am, buttman <[email protected]> wrote:
> >
> > >http://tinyurl.com/2a8446e
> >
> > Please give some indication of how the map is supposed to work. Or how
> > to get it to go wrong. It's not obvious.
> >
>
> It works perfectly fine as is. If you open up firebug, and go to the
> javascript console and type in the following:
>
> dirn_opts = {getPolyline: true, travelMode: G_TRAVEL_MODE_WALKING,
> getSteps: false}
>
> the map will stop working. Any clicks will raise a 500 error from the
> GDirections object.
>
> --
> 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%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api?hl=en.
>
>

-- 
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