Thursday, May 20, 2010

GDirections not working in Walking mode

http://tinyurl.com/2a8446e

It works fine in driving mode, but when you change this:

var dirn_opts = {getPolyline: true,
//travelMode: G_TRAVEL_MODE_WALKING,
getSteps: false}

to this:

var dirn_opts = {getPolyline: true,
travelMode: G_TRAVEL_MODE_WALKING,
getSteps: false}

it doesn't work anymore. Any ideas why? I have the GDirections object
initialized with a DOM for the safety warning... I don't know what
else could be hanging things up.

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate