alex3165 / react-leaflet-draw

React component for leaflet-draw on top of react-leaflet
228 stars 152 forks source link

How can I differentiate between save and cancel of edit function? #143

Open 1765659645 opened 2 years ago

1765659645 commented 2 years ago

When I edit a polygon, whether I click save or cancel, onEditStop will be triggered. How can I distinguish whether it is save or cancel?