interactive maps?

Giganews Newsgroups
Subject: interactive maps?
Posted by:  mjrosi… (Matt)
Date: 18 Jul 2003

I have a few ideas that I would like to implement using javascript,
but I'm not sure how to go about this, perhaps some folks here could
lend a hand.

The first seems relatively simple. I would like to be able to have a
user click anywhere on a map (say a standard US map or maybe a
satellite image which would change, but the map dimensions would not).
Ideally, lat/lon would be retrieved upon a click (probably not hard to
do with js, right?) and then somehow I need o to remotely send that
lat/lon pair to a plotting routine on another machine that will
generate an image at that location on the fly. I know I can get
lat/lon from a script (not quite sure how yet as my JS knowledge is
limited), but whether I can use javascript to either send that
directly to the routine or place it in some sort of perl script, not
sure and probably where I need the most help.

The second application is similar, but seems like a bit of a
challenge. I have maps (gifs) with color filled contours that I would
like a user to be able to mouseover and obtain the exact value of the
plotted parameter in a pop-up box. I don't even know if this is
possible with a gif and I presume it would require some sort of image
map, the question is where would the exact parameters come from, seems
impossible to get them from a gif, maybe I would need to create a
formatted text file with lat/lon pairs and corresponding values that
could be accessed via an image map?

I know this is a lot to ask, but any help is greatly appreciated!

Much thanks,