SVGPanZoom

jQuery plugin to pan and zoom SVG images either programatically or through mouse/touch events

Main Features

  1. Programmatically manipulate the SVG viewBox to Pan and Zoom
  2. Mouse and touch events to pan the SVG
  3. Mousewheel and pinch events for zooming the SVG
  4. Animate pan and zoom actions
  5. Zooming keeps the cursor over the same coordinates relative to the image (A.K.A. GoogleMaps-like zoom)

Dependencies

jQuery, SVG-enabled browser (does not work with SVG work-arounds that use Flash)

Demo

Download View Source