geoman-io / leaflet-geoman

🍂🗺️ The most powerful leaflet plugin for drawing and editing geometry layers
https://geoman.io
MIT License
2.21k stars 433 forks source link

Disabling snap in polygon draw mode while requiring snap to complete shape #1508

Open sstainba opened 2 months ago

sstainba commented 2 months ago

The drawing options when drawing a polygon can be such that snapping is disabled but the completion of the polygon requires snapping to the first point. This is an obvious conflict that needs to be addressed. Disabling snapping (even globally) should affect all layers EXCEPT the current layer being drawn on.

Falke-Design commented 2 months ago

Thank you for bringing this up, we will look into this