![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtnVWUH2_ZRr_Wz_BHkcH90p3KLcy-PF2EcxEciAMuED0mRmDhvgisRnFZzexepG_R904Bmlh77ejbhnjNoS2ExdrSgeof81E0C1DMhxkxQ7ZIc7CEFwzXWzd-BB2y71txaF1_1A/s400/earth.jpg)
This tutorial will teach you how to build a distance finder using the Google Maps API v3. If you want to see what the finished map will look like there is a demo here.
The application allows the user to enter two addresses. The addresses are then shown on a Google Map with the straight line distance between the two addresses calculated and the approximate driving time shown as well.
Distance Finder
Calculate the straight-line distance between two points.
Distance Measurement Tool
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpNHMardi8f3BpEFD-aHxaTJU7DyxJA6KMUTUt74rzXz_f0s29eODTbplteI7zBGzpATj6myMRFlB7O5xq7l2OihPsrwgUK01OdAbBfTbCYoPw1zckQKqLGpkfNg7VxqeSEGtmrA/s400/earth.jpg)
Google Maps Labs has a new distance measurement tool. If you select the tool from Google Maps a small ruler will be added to the bottom of the map next to the distance scale.
________________
No comments:
Post a Comment