Closed Axolord closed 1 year ago
Well, now I tried to publish my self built package to a verdaccio repo under a different name and tried installing that... and now it works out fine again. Seems strange to me and I dont know why it happens, maybe someone can try to reproduce it..? Otherwise I will close the issue in a few days :)
I'm glad you found a way that works for you as I have no idea (I have no experience with angular) as to why this happens.
Hi, I am kind of new to this whole leaflet plugin stuff, but through multiple testings I have found the following problem: If I build your project locally and install & import it inside my angular project, it does not augment the Closure's 'L' from leaflet, while it does augment the Globals 'L'. So inside the chrome dev tools, I can see the L.Geodesic Class under "Global", but not under "Closure".
If I then instead install the module from npmjs.com, it does work for both "Global" and "Closure".
How can that be?
Steps to reproduce:
inside my angular project I have a "map.component.ts" with the following code:
But I get the error
Install from repo:
=> and then it works again...