interactive maps?

M

Matt

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,

Matt
 
J

Jim Ley

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.

dhtml will be a significant pain for doing this, use SVG when exactly
what you're wanting has been implemented many times over.

Check out some SVG resource:
from the top of my head:

http://tirolatlas.uibk.ac.at/
http://www.onemap.org/
http://www.dbxgeomatics.com/svg.asp?Language=EN (commercial but great)

There's loads of others.

Jim.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top