473,473 Members | 2,166 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

interactive maps?

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
Jul 20 '05 #1
2 7185
Maybe you can check out either of the followings. They have source
codes available:
http://www.thejmaker.com/gil.html
http://www.thejmaker.com/rim.html

-----Original Message-----
From: mj******@bulldog.unca.edu (Matt)
[SMTP:mj******@bulldog.unca.edu]
Posted At: Friday, July 18, 2003 2:39 PM
Posted To: comp.lang.javascript
Conversation: interactive maps?
Subject: interactive maps?

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

Jul 20 '05 #2
On 18 Jul 2003 12:38:46 -0700, mj******@bulldog.unca.edu (Matt) wrote:
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.
--
comp.lang.javascript FAQ - http://jibbering.com/faq/

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: carr | last post by:
If anyone is interested, it's a rather new and interesting project. -- mobyMAP is a MIDlet that is used for browsing city maps on a mobile phone, it supports: - zooming in/out of maps -...
4
by: Jeff Sandys | last post by:
I'm trying to write a mapping function for genealogy. I want to read a gedcom database and plot an icon at a geographic location based on a user's query. Can you help me find: 1) A python...
20
by: Joe | last post by:
When you run "python -i scriptname.py" after the script completes you left at the interactive command prompt. Is there a way to have this occur from a running program? In other words can I...
4
by: Stanimir Stamenkov | last post by:
I have this kind of construct: http://www.geocities.com/stanio/temp/usemap01.html (an IMG element using MAP described with AREA elements) I'm trying to make it more accessible and currently...
43
by: Steven T. Hatton | last post by:
Now that I have a better grasp of the scope and capabilities of the C++ Standard Library, I understand that products such as Qt actually provide much of the same functionality through their own...
3
by: Sean | last post by:
Have you ever wanted to add the great features inherent in Google Maps? Here is how you do it. ============== == STEP ONE == ============== Create a new MS Access form called frmGoogleMap....
1
by: jodz | last post by:
i want to create an interactive image map.. i have a map of a city and i want to add hotspots to certain areas that when hovered on by the mouse a box would open up next to the map with the name of...
1
by: TInnieS | last post by:
I am designing an interactive map its working, but i need some help with pulling data from a database and making changes without interfering with the fla file
4
by: vunet | last post by:
How to make an interactive map without Flash? I want to move mouse over each continent and see it changing its color but when clicked it would send some action to the DOM. Someone offered me to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.