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
Since this commit in leaflet-pip, function is_poly is not anymore able to take into account polygons just created with leaflet-draw. I thought leaflet-draw created an incorrect polygon in this issue but I suspect now leaflet-pip is maybe not enough permissive.
I would suggest a PR which updates the is_poly function from your plugin:
Hello,
I've tried to update my app with leaflet 1.0.x and I'm facing up to an incompatibility between 2 plugins:
Since this commit in leaflet-pip, function
is_poly
is not anymore able to take into account polygons just created with leaflet-draw. I thought leaflet-draw created an incorrect polygon in this issue but I suspect now leaflet-pip is maybe not enough permissive.I would suggest a PR which updates the
is_poly
function from your plugin:Indeed layer created by leaflet-draw has no
l.feature && l.feature.geometry && l.feature.geometry.type
attribute...And maybe rollback entirely ff2b2f4 for
is_poly
:What do you thinking about it ?
Fabien
The text was updated successfully, but these errors were encountered: