I've tried everything, versions change, importing the modules .forRoot() and not, adding the js files in my angular.json file, remove node_modules, reinstall them, followed the guide on @ngx-leaflet-draw from scratch a hundred times.
No matter what I do, when I try to draw a rectangle it always throws this error:
Even though the handlers are present and ALL of them works perfectly except for the rectangle one (the only one I need)
I don't even know how to provide you with more specific informations if not for this:
leaflet: 1.5.1
leaflet-draw: 1.0.4
@asymmetrik/ngx-leaflet: 6.0.1
@asymmetrik/ngx-leaflet-draw: 5.0.1
I'm stuck on this stupid error and I don't know how to get over it. Please help!
Please, if you need more information just ask.
I've tried everything, versions change, importing the modules
.forRoot()
and not, adding the js files in myangular.json
file, remove node_modules, reinstall them, followed the guide on @ngx-leaflet-draw from scratch a hundred times.No matter what I do, when I try to draw a rectangle it always throws this error:
Even though the handlers are present and ALL of them works perfectly except for the rectangle one (the only one I need)
I don't even know how to provide you with more specific informations if not for this:
leaflet
:1.5.1
leaflet-draw
:1.0.4
@asymmetrik/ngx-leaflet
:6.0.1
@asymmetrik/ngx-leaflet-draw
:5.0.1
I'm stuck on this stupid error and I don't know how to get over it. Please help! Please, if you need more information just ask.