News for hackers. Stuff that matters.
Re:Leaflet: An open-source JavaScript library for mobile-fri... by mourner on Monday December 05, 2016 @06:47AM (#13104803)
If the icons don't work when you use Leaflet through NPM, please report a bug at https://github.com/Leaflet/Leaflet/issues. This is certainly not an expected behavior. It might have regressed in recent versions.
Re:Leaflet: An open-source JavaScript library for mobile-fri... by abustamam on Monday December 05, 2016 @08:36PM (#13111570)
I actually got it to work using DivIcons, but I felt it was kind of hacky (it was a div containing an image with a url to my marker).

Interestingly enough, the bug I was getting (can't seem to repro anymore) was already solved... by you! https://github.com/Leaflet/Leaflet/issues/766#issuecomment-7...

None of the fixes on that page worked, but using DivIcons did. If I can repro, I will definitely make an issue. Thanks!