How do I provide driving directions with the Google Maps APIs?
The Google Maps Javascript API allows you to provide driving directions via the GDirections class. This class provides you with step-by-step access to basic and multi-point driving directions, and can automatically create the overlays and directions panel for you. Additional examples are provided in the documentation. You can also easily link to Google Maps for driving directions. We suggest you use the following format for driving directions on Google Maps: http://maps.google.com/maps?