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

jopen 9年前

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

项目主页:http://www.open-open.com/lib/view/home/1430118480162