Hi rafiqy, [email protected] wrote on 02/13/2006 12:50:53 PM:
> I'm trying to display coordinates when the cursor moves over the SVG > map - I'm using JSVGCanvas, has anyone got any idea how_to pls? This is a difficult to answer question because there are so many ways it could be interpreted. Do you want to display screen coords (you could use just AWT MouseMove Listener) do you want to display 'document coords' in which case you need to identify what document coords (as every element could have a different coordinate system). You will probably want to look at the DOM 'mousemove' event handler, and the DOM MouseEvent struct (in particular clientX/Y), in combination with the SVGDOM SVGLocatable.getScreenCTM method. ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

