Creating Interactive Maps
From: Jeff (knightoftherose98_at_yahoo.com)
Date: 06/16/04
- Previous message: Roedy Green: "Re: java 1.4.2. very slow with animated gifs?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 16 Jun 2004 11:50:11 -0700
Hello Folks,
I am hoping that the folks of this forum could help me out with a GUI
problem that I am having.
The problem is:
I need to display a map of North American on the Map. Then users need
to drag icons from another window (or frame) onto the map. The map
need to "capture" the icon and determine whether or not the icon is in
the correct location on the map. For example there is a map of North
America with the cities Los Angeles, New York, Dallas, Tampa Bay,
Toronto, Ottawa and Montreal on it. The user would drag an icon for
Montreal onto the map. If the user drags the icon to on top of any of
the cities the maps should "capture" the icon. It should be able to
determine that the user icorrect placed the Montreal icon on on New
York. It should also be able to determine if the user correctly
placed the Montreal icon on Montreal.
Now I have been trying to figure out a good way to approach this but
have come up with nothing. Can anyone suggest a way of approaching
this problem? If they could perhaps even point me towards some sample
code to go about this I would appriciate it.
Thanks,
Jeff Dunnett
Department of Psychology
University of Guelph
Guelph, Ontario
Canada
- Previous message: Roedy Green: "Re: java 1.4.2. very slow with animated gifs?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|