Leaflet.DistortableImage
Leaflet.DistortableImage copied to clipboard
A Leaflet extension to distort or "rubber sheet" images
Similarly to `getAngle`, `setAngle` and `rotateBy` in `src/DisortableImageOverlay.js`, we want to add `getScale` and `setScale` methods on the image to go with the already implemented `scaleBy` Orig. requested in https://github.com/publiclab/Leaflet.DistortableImage/issues/732
Fixes #460 Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks! * [x] PR is descriptively titled 📑 and links...
https://github.com/publiclab/Leaflet.DistortableImage#single-image-interface-1 describes how to use the StackAction, and we implemented that here in MapKnitter: https://github.com/publiclab/mapknitter/blob/6731eecdf187fc7e691ca9616eda7c0489e1712f/app/assets/javascripts/mapknitter/Map.js#L108 However, using this does not affect the order of `opts.collection`, and the export we queue...
I would like to use the data generated by the DistortableImage (corners, center etc) to create an equivalent map but using ol API instead of Leaflet one (beacause of the...
**Please describe the desired behavior.** It would be really handy to be able to be able to scale/distort images based on mapping pixels in the image to coordinates. As an...
So that the icon turns into a loader the same as if you were to just click on it
Currently we just have two levels - opaque (opacity level at 1) and transparent (opacity level at 0.7)  Relevant lines of code are: 1) an `opacity` option for the...
I noticed that it's possible to do video overlays: https://leafletjs.com/examples/video-overlay/ I wonder if it's possible to substitute `videoOverlay` on the following line? https://github.com/publiclab/Leaflet.DistortableImage/blob/6d2f73023500b03eb39881b252edb30f108d8eab/src/DistortableImageOverlay.js#L1
This may need to be upstream in Leaflet.Toolbar? https://github.com/leaflet/Leaflet.toolbar R - toggle rotate/distort L - lock T - transparent O - outline (pretty similar to transparent)  @imvec
Fixes #296 ( We're happy to help you get this ready -- don't be afraid to ask for help, and **don't be discouraged** if your tests fail at first! If...