HTML and CSS Reference
For more information about geocoding, see http://code.google.com/apis/maps/documen
8.5 Getting Directions from the Current Location
You want to get directions from the user's current location to a specific address.
Use the Google Maps API to display the route the same way the Google Maps website
would, and give the user the option to output the distance in miles or kilometers, as
shown in Figure 8-4 .