You will need some kind of API/Database that will let you do that. A few of
those are:
http://extranet.mapinfo.com/products...FTOKEN=9781408 http://www.electricvine.com/Products...p?ProductID=50
Or, if you have a database of dealers, you can enter these addresses in a
database, along with their latitude/longitude. Then, based on the address,
find the distance. It seems simple, but it can be tricky if you have a ton
of dealers.
To find latitude/longitude of a given address:
http://jan.ucc.nau.edu/~cvm/latlon_find_location.html http://www.geocode.com/modules.php?name=TestDrive_Eagle
To find distance between two latitude/longitude sets:
http://jan.ucc.nau.edu/~cvm/latlongdist.html
--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
"Galsaba" <galsaba@aol.com> wrote in message
news:20040606101851.06123.00000410@mb-m13.aol.com...[color=blue]
> Anyone knows how I can find a script for "Find a Dealer near you" locator
> script?
> I prefer to have it in two stages:
> 1. The customer will enter his address, and then the result will be a list[/color]
of[color=blue]
> dealer in a radius of let's say 20 miles.
>
> 2. When the user clicks on the dealer's link, the result will be the exact
> Driving distance.
>
> If this is not the right forum to post this message, then, if you know[/color]
which[color=blue]
> one is the right one, please let me know.
>
> Thanks,
>
> Jim Morgenberger[/color]