Releases: publiclab/Leaflet.DistortableImage
Releases · publiclab/Leaflet.DistortableImage
Updated Tool UI and Functionality
v0.6.1
- Bug Fixes
- MouseEvent handling for the
boxSelector
is fixed, allowing selection with shift + drag to be made towards any direction (#334 by sashadev-sky)
- MouseEvent handling for the
v0.6.0
- API Changes
- Images in
lock
mode can now be 'multi-selected' so they can be exported via the "Exports" action (#324 by sashadev-sky) - New
DistortableCollection
actions "Locks" and "Unlocks" (#324)
- Images in
v0.5.3
v0.5.2
- Bug fixes
- Fix "Exports" action image ordering so it matches the Mapknitter Exporter API convention (#322 by jywarren)
v0.5.1
v0.5.0
-
API changes
- Multiple Image Collection actions added: "Exports" and "Deletes". (#314 by sashadev-sky)
- Added and documented a Toolbar API, exposing an
actions
option forDistortableImageOverlay
andDistortableCollection
, as welladdTool()
,hasTool()
andremoveTool()
forDistortableCollection
. (#314)
-
Bug fixes
- Updated
leaflet-toolbar
dependency to version "0.4.0-alpha.2" to fix a "toolbar undefined" bug. Our toolbar namespaces were updated as part of this:DistortableCollection
now uses an instance ofL.control
for its toolbar, andDistortableImageOverlay
uses anL.popup
instance. TheL.DistortableImage.EditToolbar
class has been updated toL.DistortableImage.ControlBar
andL.DistortableImage.PopupBar
.L.DistortableImage.EditAction
has been updated toL.EditAction
. All 3 of these files have been moved intosrc/edit/tools/
(#314) - The
BoxSelector
multi-selection method (shift
+ drag) is now working and has been documented as an additional way to multi-select images. (#314)
- Updated
v0.4.4
-
API changes
- Added
mode
option toDistortableImageOverlay
(#206 by rexagod) - Added "Restore" action for single-image interface (#274 by sashadev-sky)
- Images are no longer unnecessarily added to the map directly, instead they are only added to the
DistortableCollection
to clean up code. Documentation updated accordingly and testing. (#274)
- Added
-
Bug fixes
- Images are now removed from their featureGroup before being removed from the map, fixing a deletion bug (#269 by sashadev-sky)
-
Enhancements
- Tool icons are now Material icons, dropped Font Awesome dependency, normalized tooltips, and updated the "ToggleOutline" tool so that it does not also toggle image opacity. (#255 by sashadev-sky)
- Updated Material Icons to use an SVG Icon System. (#274)
- Updating code to use class factory syntax (#257 by aysegulkoca, #256 by damlangin, #285 by jeremycl01, #300 by navassouza, #302 by ajmorozoff)
- Removed deprecated
L.Mixin.Events
(#264 by sashadev-sky) - Code consolidation (#263 by yazicizuleyha, #266 by esraodaci, #267 by AdityaShD)
Keymapper and keybindings
API changes
- New keymapper component and added
keymapper
option toDistortableImageOverlay
(#212 by rexagod) - Added
selected
option toDistortableImageOverlay
(#229 by sashadev-sky)
Bug fixes
- Normalized keybindings, only the "ToggleLock" hotkey can override
lock
mode (#229 by sashadev-sky)
Other enhancements
🎉🙌🏽
Toolbar positioning fixes and improvements
#210 #201 #221 and other fixes!
API changes
- Created and exposed
getCorners()
andgetCorner(idx)
as public API methods (#201 by sashadev-sky)
Enhancements
- Added deselection on map click (#187 by sashadev-sky)
- Toolbar is now positioned based on the image overlay's corners (#210 by Greg-Tarr)
Multiple image selection
v0.4.1 Update package.json
Separated Rotate/Scale tools, compatibility with react-leaflet-distortable-imageoverlay
v0.2.1
Full-resolution download
Colorized and shape-differentiated handles
Cross-origin options (bugfix)
Merge pull request #92 from jywarren/crossOrigin capitaliZation
Toolbar fixes; leaflet-toolbar v0.3.0
Merge pull request #79 from jywarren/new-toolbar new toolbar version - v0.3.0