aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Need to capture image coordinates displayed in a browser window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Need to capture image coordinates displayed in a browser window" Watch "Need to capture image coordinates displayed in a browser window" New topic
Author

Need to capture image coordinates displayed in a browser window

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I am displaying our spatial data in form of a Map (As a Image ) on to the browser window as shown below .



Now i must digitize this , means drawing lines on to the image .

I am able to capture the left click and right clicks of a mouse .

Upon left click i am able to capture coordinates x and y and store them in a session like this .



Upon right click i am getting this values as null please help me how can i get these values .so that i can draw a line



Please help .


Save India From Corruption - Anna Hazare.
Trilochan Bharadwaj
Ranch Hand

Joined: Feb 02, 2009
Posts: 100
Hey,

paste js code please ... BTW: event properties ... scroll down to button clicks


Trilochan.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to capture image coordinates displayed in a browser window