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
Dear all,
I am pretty new to the react framework, and i am sorry if the question is easy or banal.
I am facing a problem in order to edit and save a geojson saved in a DB.
The problem arises when I press the icon to be able to edit the polygon. The error is as follows.
Cannot read properties of undefined (reading 'disable')
TypeError: Cannot read properties of undefined (reading 'disable')
at NewClass._disableLayerEdit (http://localhost:3000/static/js/bundle.js:22799:559)
at NewClass.eachLayer (http://localhost:3000/static/js/bundle.js:29247:16)
at NewClass.removeHooks (http://localhost:3000/static/js/bundle.js:22750:40)
at NewClass.disable (http://localhost:3000/static/js/bundle.js:28128:12)
at NewClass.disable (http://localhost:3000/static/js/bundle.js:22736:167)
at NewClass._save (http://localhost:3000/static/js/bundle.js:22707:85)
at HTMLAnchorElement.handler (http://localhost:3000/static/js/bundle.js:25445:17)
Dear all,
I am pretty new to the react framework, and i am sorry if the question is easy or banal.
I am facing a problem in order to edit and save a geojson saved in a DB.
The problem arises when I press the icon to be able to edit the polygon. The error is as follows.
This is the code that i am using.
and in order to allow you to reproduce the problem i will leave here below the geojson that i am using
what am i doing wrong?
The text was updated successfully, but these errors were encountered: