Hello
At first, a big Thank to you for sharing this great work <3.
Here is not a bug, but a tips for helping people at beginning :
- At the end of creating a new Shape (Polygon)
editable:drawing:end is fired ;
- At the end of modifying a Shape (Polygon)
editable:drawing:end is not fired but editable:vertex:dragend is.
map.editTools
.on('editable:drawing:end', saveChanges)
.on('editable:vertex:dragend', saveChanges)
;
function saveChanges() { ... }
is this the right way to do it?
Thanks & Cheers
PS: another tips here : #213 😉