Hi Barkha, the getScreenCTM method will help you (http://www.w3.org/TR/SVG/types.html#__svg__SVGLocatable__getScreenCTM). I wrote a little example : http://jsfiddle.net/ybochatay/aUYay/ by clicking in the svg area you'll get the coordinates of your mouse relatively to the specified viewbox. Regards, Yannick
----- Mail original ----- De: "barkha" <[email protected]> À: [email protected] Envoyé: Lundi 23 Juillet 2012 13:16:26 Objet: [svg-developers] Re: Zoom In Out wih SVG Thanks all for replying, Now i'm stuck with the below mentioned scenario, Zoom in out functionality without panning is done by playing with Viewbox coordinates of root element of SVG, Drag and Drop of elements(From HTML Div to SVG Map and also from SVG Map to SVG Map) is implemented without zoom in. Now i want to zoom my svg map (where i'm placing elements by drag and drop) along with drag and drop of elements with the above mentioned possibilities of drag drop.so my question is,Is it possible/feasible to drag and drop elements while map is zoomed in?and if it is correct approach then how to get correct position of cursor in map while drop event of element? Regards, Barkha ------------------------------------ ----- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> 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/

