Leaflet.buffer icon indicating copy to clipboard operation
Leaflet.buffer copied to clipboard

What event is there to call when the "save" link is clicked?

Open gmarshall56 opened this issue 3 years ago • 0 comments

This all works great however when a user clicks and drags the pointer to create a buffer around a shape on the map and clicks "Save" what should event in your API should be called from my JavaScript code in order to get all of the lat / lngs inside of the buffer? I noticed when you add a buffer to a polyline and click "Save" the map.on(L.Draw.Event.CREATED, function(e).... is triggered, however this does not happen when you click save after buffering any other drawing shape (square, circle, polygon).

Thank you

gmarshall56 avatar Jun 08 '21 17:06 gmarshall56