How to make layers with {pmIgnore: true} snappable? #848
Replies: 3 comments
-
Currently it is not really easy to solve, I think we should make this easier. You have to add the layers they should snap manually on every drawstart or enabling:
In the latest release we "fixed" that when a layer has leaflet-geoman/src/js/Mixins/Snapping.js Lines 171 to 184 in 2591108 |
Beta Was this translation helpful? Give feedback.
-
I think if pmIgnore: true it should still not snap by default, but snapIgnore: false or snappable: true, should allow. This became an issue since #677 (before you had too { pmIgnore: true, snapIgnore:true }) to ignore snap) |
Beta Was this translation helpful? Give feedback.
-
Yes I see it like you. I will talk with @codeofsumit and then implement it. |
Beta Was this translation helpful? Give feedback.
-
I used the older version of leaflet-geoman in past and pmIgnore layers were snappable by default. Now they aren't. Is it possible to do them snappable but not editable and removable?
Beta Was this translation helpful? Give feedback.
All reactions