A "How would you do this"-type of question. not Java-specific.
- From: korto.wow@xxxxxxxxx
- Date: 27 Sep 2006 12:40:48 -0700
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
.
- Follow-Ups:
- Re: A "How would you do this"-type of question. not Java-specific.
- From: Josh Falter
- Re: A "How would you do this"-type of question. not Java-specific.
- From: korto . wow
- Re: A "How would you do this"-type of question. not Java-specific.
- From: Eric Sosman
- Re: A "How would you do this"-type of question. not Java-specific.
- Prev by Date: Re: Cannot resolve symbol class Scanner
- Next by Date: Re: Cannot resolve symbol class Scanner
- Previous by thread: Cannot resolve symbol class Scanner
- Next by thread: Re: A "How would you do this"-type of question. not Java-specific.
- Index(es):
Relevant Pages
|