imgviewer2
v1.1.0
Published
extensible, responsive jquery plugin to zoom and pan images using the Leaflet mapping library
Downloads
88
Maintainers
Readme
imgViewer2
Extensible and responsive jQuery plugin to zoom and pan images. Zooming and panning works on desktop browsers using:
- the mousewheel to zoom in and out
- left mouse button double click to zoom in
- shift and left mouse button drag to define a area to zoom
- left mouse button click and drag to pan around.
On touch enabled devices pinch gestures can be used to zoom in and out and tap and drag to pan around.
It is an easily extended, responsive UI component based on the jQuery widget factory that uses the Leaflet mapping library for the underlying image display. It should work on all browsers and platforms supported by Leaflet.
This plugin is the successor to the original imgViewer plugin.
Examples
- Fixed size image
- Dynamic image size
- Decorated, dynamic image size
- Custom onClick callback
- Control options
- Simple extension to display markers and notes
- Simple extension using Leaflet plugins to display markers and notes
- Simple extension to compare multiple versions of an image