easypz
easypz copied to clipboard
Easy Pan and Zoom JS Library
Or just simply use ``` var ctx = document.getElementById("myCanvas").getContext("webgl"); ``` and it doesn't work
When using the mouse wheel or pinch to zoom to certain area to zoom, it receives translateX and translateY and results to not going to the right place when zoomed....
I guess it would break backwards-compatibility if user has already fixed zoom himself somehow :) resolves #16, resolves #12.
Is there a module version of this so I can use the "import" statement?
When providing top, right, bottom, left bound values these only seem to be applied to the initial zoom, so whenever the scale is changed these values don't seem to take...
It would be great to have a way to update the bound values on the fly. Scenario: when using it with a regular canvas object it seems like the bounds...
Does it work on HTML elements or just on svg?
nice lib. here's my hack for trying to even out scroll speed between browsers when using touchpads: ``` @@ -945,7 +945,15 @@ EasyPZ.addMode(function (easypz) { var delta = eventData.event.wheelDelta ?...