Giter VIP home page Giter VIP logo

imgviewer2's Introduction

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

  1. Fixed size image
  2. Dynamic image size
  3. Decorated, dynamic image size
  4. Custom onClick callback
  5. Control options
  6. Simple extension to display markers and notes
  7. Simple extension using Leaflet plugins to display markers and notes
  8. Simple extension to compare multiple versions of an image

Documentation

  1. Using the plugin
  2. Options
  3. Methods
  4. Extending
  5. Release History

imgviewer2's People

Contributors

waynegm avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.