:earth_asia: FreeDraw allows the free-hand drawing of shapes on your Leaflet.js map layer – providing an intuitive and familiar UX for creating geospatial boundaries similar to Zoopla and others. Included out-of-the-box is the concaving of polygons, polygon merging and simplifying, as well as the ability to add edges and modify existing shapes.
Description
Fixes problem with
map.on('touch')
events not working on leaflet >= 1.7 by changing the code to use L.DomEvent instead.Fixes issues
Type of change
How Has This Been Tested?
Tested drawing on leaflet 1.7.1 and leaflet 1.5.1
Desktop (default and mobile touch simulation)
Mobile
Checklist: