A "How would you do this"-type of question. not Java-specific.



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

.



Relevant Pages

  • Re: A "How would you do this"-type of question. not Java-specific.
    ... a dot will appear on the map to indicate where that ZIP code ... coords and extrapolate those to x,y coords on your graphic map? ... Not really a Java question, just something that I was thinking about ... I'm thinking the easiest way is using the file set-up I ...
    (comp.lang.java.help)
  • A "How would you do this" type of question.
    ... Imagine you are writing a program that will display a map of the United ... coords and extrapolate those to x,y coords on your graphic map? ... I'm thinking the easiest way is using the file set-up I ...
    (comp.programming)
  • Re: OS map To LL - where is the top left of a map.
    ... Here is a suggestion that should give crude coords, ... Hovering the mose around over the map shows this to be set up with a ... text to extract the coords and map sheet number. ... coords to full OS grid references. ...
    (sci.geo.satellite-nav)
  • Instance questions.
    ... Does anybody know of a better map addon that has the same features as ... MetaMaps (coord marking, sharing/sending coords to teammates, pin-push map ... My mage can afford it, ...
    (alt.games.warcraft)
  • Re: geographical coordinates
    ... I am assuming that the lat/long is derived from a data source. ... You need to convert that into xy coords for your map. ... Display the coordinate marker in another <DIV> and position it relative ...
    (comp.lang.php)