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
I'm using your nice leaflet lib for my hobby project and I found it difficult to integrate it with angular-cli.
I figured that leaflet-ng2 has a dependency on leaflet, so I do not need to include / npm install that source explicitly, but I found tricky to add the css and marker images to the project.
Based on this, I've added the css and images the following way:
Hi,
I'm using your nice leaflet lib for my hobby project and I found it difficult to integrate it with
angular-cli
.I figured that leaflet-ng2 has a dependency on leaflet, so I do not need to include / npm install that source explicitly, but I found tricky to add the
css
and marker images to the project.Based on this, I've added the
css
and images the following way:but then I need to rewrite the default path for the markers for what I could not found any nice way.
I've ended up adding the
css
from a cdn and not through the angular-cli, but It would be nice if I could use it with the cli.Thank you for your help!
Best,
Patrik
The text was updated successfully, but these errors were encountered: