Svg Pan Zoom – jQuery插件实现SVG图像平移和缩放

jopen 7年前

Svg pan zoom 是一个jQuery插件实现SVG图像平移和缩放,可以通过编程的方式或通过鼠标/触摸事件。


  • Programmatically manipulate the SVG viewBox
  • Mouse and touch events to pan the SVG viewBox
  • Mousewheel events to zoom in or out the SVG viewBox
  • Animations
  • Mousewheel zooming keeps the cursor over the same coordinates relative to the image (A.K.A. GoogleMaps-like zoom)
  • Limiting the navigable area