Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need to capture image coordinates displayed in a browser window

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Trilochan Bharadwaj
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

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


Trilochan.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic