How can I use this library in Angular project? I tried "npm install leaflet-toolbar leaflet-draw-toolbar", then "import 'leaflet-toolbar'; import 'leaflet-draw-toolbar';" in my component but it gives me an error of "Property 'Toolbar2' does not exist on type 'typeof import("c:/Users/Simin/Documents/Design/node_modules/@types/leaflet/index")'. Did you mean 'Toolbar'?"
I have added leaflet-draw library through here: https://github.com/Asymmetrik/ngx-leaflet-draw
How can I use this library in Angular project? I tried "npm install leaflet-toolbar leaflet-draw-toolbar", then "import 'leaflet-toolbar'; import 'leaflet-draw-toolbar';" in my component but it gives me an error of "Property 'Toolbar2' does not exist on type 'typeof import("c:/Users/Simin/Documents/Design/node_modules/@types/leaflet/index")'. Did you mean 'Toolbar'?" I have added leaflet-draw library through here: https://github.com/Asymmetrik/ngx-leaflet-draw