Re: No difference in Driving distance between G_TRAVEL_MODE_WALKING and G-TRAVEL_MODE_DRIVING
> 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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home