Re: interactive map

2009-07-07 Thread Fred Sauer
Mitch,
You're probably looking for the mouse click handler:
  http://code.google.com/webtoolkit/tutorials/1.6/manageevents.html

Fred

On Wed, Jul 1, 2009 at 3:31 PM, mitche...@gmail.com mitche...@gmail.comwrote:


 Hey guys,

 I am trying to create an interactive map interface... not unlike
 Google Maps, but needing FAR fewer features, and it is a map of an
 indoor facility, making Google Maps API rather silly. I would like to
 be able to display an image (the Map itself) and have the user click
 on a location of the image, and somehow get the x,y coordinates of the
 location/pixel that they clicked on. I have been searching high and
 low for something that might help me accomplish this, however all i
 can seem to find is the MouseListener, which seems like a little
 overkill. Is ther no onClick-sort event handler which can return x,y
 coordinates when a click occurs? If i have to use MouseListener, thats
 fine, i was just wondering if there was a simpler way...

 Thank you!

 Mitch

 



-- 
Fred Sauer
f...@allen-sauer.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



interactive map

2009-07-01 Thread mitche...@gmail.com

Hey guys,

I am trying to create an interactive map interface... not unlike
Google Maps, but needing FAR fewer features, and it is a map of an
indoor facility, making Google Maps API rather silly. I would like to
be able to display an image (the Map itself) and have the user click
on a location of the image, and somehow get the x,y coordinates of the
location/pixel that they clicked on. I have been searching high and
low for something that might help me accomplish this, however all i
can seem to find is the MouseListener, which seems like a little
overkill. Is ther no onClick-sort event handler which can return x,y
coordinates when a click occurs? If i have to use MouseListener, thats
fine, i was just wondering if there was a simpler way...

Thank you!

Mitch

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---