Reply
Zip Code Search
Old 08-19-2007, 01:52 PM Zip Code Search
Average Talker

Posts: 22
A friend of mine has asked me to implement a zip code search for dealers for a business he's invested in. Basically they want users to enter their zip code and find the closest dealer. The problem is I have no idea how to do this and was hoping someone here could refer me to a tutorial somewhere.
Prometheus is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 08-19-2007, 02:48 PM Re: Zip Code Search
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
I think Google Maps would get you what you want if you can get the business to give you a list of all their locations, and then build this into a kml file. Basically a geographic strain of xml. If you do that, or use a database if you're more comfortable with that, you can put a pin on the map for your customer's address and then pins for each location, then they can use the directions function and whatnot.

Google's API tutorial for their online maps application is probably the only tutorial you'll really need, if you're comfortable with other web technologies.
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 08-19-2007, 06:06 PM Re: Zip Code Search
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
Wireless Audio
Posts: 2,314
Name: Keith Marshall
Location: West Hartford, CT
Here is a US zip code dump file for MySQL:

http://www.kmarshall.com/zipcodes.sql.zip
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 08-20-2007, 01:46 PM Re: Zip Code Search
Super Talker

Posts: 118
You could always take a look at the haversine formula. This will give you the distance between two points on a sphere.

I used this same process here: http://www.maxbats.com/retailerlocator.php
__________________
flann
Free mortgage calculator

Last edited by flann : 08-20-2007 at 02:19 PM. Reason: add sample
flann is offline
Reply With Quote
View Public Profile
 
Old 08-20-2007, 11:13 PM Re: Zip Code Search
Average Talker

Posts: 22
Wow, 3 great replies, now I don't know which to choose. I guess my decision will be based on which is easier for me to implement, since my web skills basically consist of html and css. Thanks for the help.
Prometheus is offline
Reply With Quote
View Public Profile
 
Old 08-21-2007, 06:32 AM Re: Zip Code Search
Abi
Junior Talker

Posts: 1
Quote:
Originally Posted by Prometheus View Post
A friend of mine has asked me to implement a zip code search for dealers for a business he's invested in. Basically they want users to enter their zip code and find the closest dealer. The problem is I have no idea how to do this and was hoping someone here could refer me to a tutorial somewhere.

hey there..... just read ur post &.... its a tough task to accomplish... especially if one iz not an expert...

i just started my computer science studies & i also encountered such situations where the lack of my skills made me suffer a lot... but this don't happen any more... bcoz during the search for help i came across < link drop removed > & they provide all sort of help for the development of projects.... they also allow u to consult experts & discuss solutions with them

hope it'll help u too

good luck

bubye

Last edited by chrishirst : 08-21-2007 at 11:33 AM.
Abi is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Zip Code Search
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13597 seconds with 13 queries