![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcM_NN-18eFOvZlhFuCXCq5Z5DyHgHOuY6t8MgGWd8TDJYRoSDlFFPRQFm88NKek6Xqhp72bd0LIfuMoGZTzES1aqKI_etd38WMk2_28G9Q2-ZSZVFtqHPWwI083HgE4nmldKUVFs_turh/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/AVvXsEjVlzcwsnqP5YPz-2hBbw8bvNoyfPdcd-eDkwVm90ub3pzZHDrhV5NSRviJorISeA_x7csDkCAzM-sE8sY2x7ukd4jmrpfxIbInC_yzn-hFnfAdTPcnhVwONZbQrnspCH6GkTagmlcbsR4w/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.
________________
0 comments:
Post a Comment