Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular implementation #14

Open
silvermind20 opened this issue Feb 21, 2020 · 0 comments
Open

Angular implementation #14

silvermind20 opened this issue Feb 21, 2020 · 0 comments

Comments

@silvermind20
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant