W3C home > Mailing lists > Public > www-svg@w3.org > July 2012

Zoom in out along with Drag and Drop

From: Barkha Jasani <barkha.j.java@gmail.com>
Date: Mon, 23 Jul 2012 06:01:20 -0700 (PDT)
Message-ID: <34199851.post@talk.nabble.com>
To: www-svg@w3.org
Dear Friends,

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
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
drag drop.so my question is,Is it possible/feasible to drag and drop
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?

View this message in context: http://old.nabble.com/Zoom-in-out-along-with-Drag-and-Drop-tp34199851p34199851.html
Sent from the w3.org - www-svg mailing list archive at Nabble.com.
Received on Wednesday, 25 July 2012 09:51:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:36 UTC