However, if you were asking that because you thought that it might be a 
usable strategy for a ride sharing application, forget it.

For a ride sharing application, what you should be looking at is how 
much longer it takes to drive the route A-C-D-B than it does to drive 
the route A-B.

If you've got a large number of potential ride sharers, you might not 
want to test all possible A-C-D-B routes because that would require a 
large number of GDirections calls, so you could use Bill Chadwick's 
distance to polygon code to discard situations where C and/or D is a 
long distance from the A-B polyline.

-- 
Mike Williams
http://econym.org.uk/gmap


--

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