Re: A "How would you do this"-type of question. not Java-specific.
- From: "Josh Falter" <jfalter@xxxxxxxxx>
- Date: 28 Sep 2006 12:51:36 -0700
Looks like the post office uses the Google Maps API to convert it for
them
http://www.zip-codes.com/
korto.wow@xxxxxxxxx wrote:
Imagine you are writing a program that will display a map of the United
States. Your program will ask a user to input their ZIP code. Once
they do, a dot will appear on the map to indicate where that ZIP code
is located.
My question is, how would you go about doing something like this?
Would you have a file of all ZIP codes and their longitude, latitude
coords and extrapolate those to x,y coords on your graphic map? Or, is
there an easier way?
Not really a Java question, just something that I was thinking about
today and I have no idea what mechanism anyone would use to accomplish
it.
Right now, I'm thinking the easiest way is using the file set-up I
mentioned above. Does anyone else have a different mechansim that
would be better?
Thanks,
Korto
.
- References:
- A "How would you do this"-type of question. not Java-specific.
- From: korto . wow
- A "How would you do this"-type of question. not Java-specific.
- Prev by Date: Re: Using SimpleDoc() with DocFlavour String (not InputStream)
- Previous by thread: Re: A "How would you do this"-type of question. not Java-specific.
- Next by thread: Java to UML
- Index(es):
Relevant Pages
|