bumbu / svg-pan-zoom

JavaScript library that enables panning and zooming of an SVG in an HTML document, with mouse events or custom JavaScript hooks
https://github.com/ariutta/svg-pan-zoom#demos
BSD 2-Clause "Simplified" License
1.74k stars 390 forks source link

how can i get current mouse XY when i click ??? #363

Open YANhappiness opened 4 years ago

YANhappiness commented 4 years ago

Expected behaviour

i want draw circle when i click in svg, but how can i get current mouse XY ???

YANhappiness commented 4 years ago

The zoom event is also triggered when the page is clicked ? How do I disable it?