After cutting a polygon, its rendering breaks. (pm:cut in react-leaflet-geoman) #1563
Unanswered
JUSUKE-MOMENT
asked this question in
Questions & Help
Replies: 1 comment
-
The cut polygon is a completly new layer. You need to add all custom listeners / logic to it again. Please create a demo in vanilla js if the error still occurs: https://plnkr.co/edit/3XhAuzVQ2CMyNFS |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have faced the problem that after cutting a polygon it breaks the renderer and you can no longer interact with it, you can't edit it or merge or delete it, the polygon will remain on the map but will be removed from the array of polygons. All coordinate changes are correctly saved in the polygon array and in the map layer object itself after cutting. Has anyone experienced this?
my function for cutting processing:
Beta Was this translation helpful? Give feedback.
All reactions