You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've looked at the documentation to make sure the behaviour is documented and expected
I'm sure this is a Leaflet Draw code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
I've searched through the issues to make sure it's not yet reported
How to reproduce
Leaflet version I'm using: 1.3.1
Leaflet Draw version I'm using: 1.0.2
Browser (with version) I'm using: Chromium
OS/Platform (with version) I'm using: Linux
step 1: Draw a Polygon and finish it
What behaviour I'm expecting and which behaviour I'm seeing
I would expect that the drawing process is finished and the newly generated Feature is added to the layer with editing enabled. But in the example attached, after finishing the geometry and adding a new layer with editing enabled, the drawing process is still running.
I met the similar issue, and as i think the issue is the same like : #804 Edit.Poly.js:140 Uncaught TypeError: Cannot read property 'className' of undefined
I solved it by doing this temporary fix, for the polygon/polyline case :
How to reproduce
What behaviour I'm expecting and which behaviour I'm seeing
I would expect that the drawing process is finished and the newly generated Feature is added to the layer with editing enabled. But in the example attached, after finishing the geometry and adding a new layer with editing enabled, the drawing process is still running.
Minimal example reproducing the issue
Example - https://jsfiddle.net/xpvt214o/268042/
The text was updated successfully, but these errors were encountered: