tcoupin / leaflet-paintpolygon

Leaflet plugin to create polygon with circle as paint
https://tcoupin.github.io/leaflet-paintpolygon
GNU General Public License v3.0
50 stars 11 forks source link

[Question] - event when polygon is drawn/finished? #5

Closed AndrejGajdos closed 3 years ago

AndrejGajdos commented 3 years ago

Is there a way how to detect when the polygon is drawn or finished?

AndrejGajdos commented 3 years ago

I just figured out I can copy polygon points, create a leaflet polygon and active leaflet geoman on that.