Hi,

I specify in the code :
directions.load("from: " +  location1.address + " to: " +
location2.address, {travelMode:G_TRAVEL_MODE_WALKING});

So I thought that getdistance gives me the distance.  Isn't that
correct ?  How can I obtain the walking-distance like in the direction-
panel ?
Strange thing is that when I specify G_travel_mode_driving, or no
travelmode, I also get another distance from getdistance than the
direction panel.

Kind Regards,
Bart Syryn


On 15 jan, 20:35, Rossko <[email protected]> wrote:
> > link :http://www.advani.be/Getdirections.htm
>
> And how do we get that to demonstrate your problem?
> As Andrew said, there doesn't seem to be anywhere in your code that
> would read the walking distance.
-- 
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