Closed
Description
Right now it is possible to create polygon with just 2 points - and obviously it looks like a straight line. Is this desired behavior? In my app i need polygons that contain at least 3 points. Can you adjust this check - https://github.com/codeofsumit/leaflet.pm/blob/b5fac29429ce9ae9c7f8223474aa96627cae3403/src/js/Draw/L.PM.Draw.Polygon.js#L23
or add the ability to provide required minimum points to finish polygon?