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

Yes, but where in your code do you use directions.getDistance() ?
gDir.getDistance() is NOT the same thing, 'gDir' and 'directions' are
two completely different things.
See Larrys post.
-- 
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