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

The snapping feature for drawing points and lines is not functional when in drawing mode #1496

Closed mmmmasdasd closed 2 months ago

mmmmasdasd commented 4 months ago
image image

Chrome version: 125.0.6422.142 Os: macOs leaflet-geoman: 2.17.0

This problem occurred suddenly some time after the completion of the function development. I rolled back the code version, but this problem still exists. I am not sure about the cause of this problem, so I hope the author can help me analyze it。Thank you。

Falke-Design commented 4 months ago

Without any code, this is realy hard to debug. Can you please try to reproduce this in this demo: https://jsfiddle.net/o1dwu2vg/ Or can you share your project code?