-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Import for angular 7.2.0 #16
Comments
You can just
Then inside the component import like :
If you are using newer versions of Angular you need to call something on leaflet-area-select, else it will remove the import while building (since it's not used). You can do somehting like:
Hope this helps |
I'll tell you what worked for me with a more recent Angular. component.ts:
angular.json: naturally @asymmetrik/ngx-leaflet also will have to be imported somewhere |
Hi,
I don't know if it's a good solution but that works.
In angular.json :
After install @type/node
And add to tsconfig.app.json :
In map.component.ts add :
If you have a best solution I'm interested. :)
The text was updated successfully, but these errors were encountered: