Zoom in Zoom out along with Drag and Drop

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Zoom in Zoom out along with Drag and Drop

Barkha Jasani
Dear Friends,

I've implemented below mentioned functionalities,

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?

dev-tech-svg mailing list
[hidden email]