/ImageDistortLeaflet

A Leaflet extension to distort images.

Primary LanguageJavaScript

ImageDistortLeaflet

A Leaflet extension to distort images.

Download as zip or clone to get a copy of the Repo.

To test the code, open 1.html in your browser and click and drag the markers on the edges of the image. The image will show distortions.

Structure:

The leaflet folder contains the leaflet dependencies.

The scripts folder contains the javascript files and the jquery and require.js library.

The 'imagedistort' folder contains the js files responsible for image editing features.

2.html and 3.html files can be used to test editing features besides distortion.