GDirections returns the fastest route, rather than the shortest. E.g. it will typically choose major roads and motorways, even if there's a shorter route that uses narrow side streets or country lanes.
You can obtain an alternative route by adding waypoints through which the route must pass. You can also obtain a route that avoids highways, or a walking route. There's not really any such concept as "all" alternative paths. By choosing different waypoints, it's possible to produce millions of alternative routes (not all of which are sensible). Although most browsers will cope with plotting 100 polylines without becoming too sluggish, plotting that many different paths between the same two endpoints is likely to become too confusing to be useful. -- http://econym.org.uk/gmap The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
