3 ms·
I really appreciate the work you do! It's great to be out of Google's ecosystem for this, as it is not extensible enough for my needs. Is there any plan to add
by abustamam 10y ago
I really appreciate the work you do! It's great to be out of Google's ecosystem for this, as it is not extensible enough for my needs.
Is there any plan to add NPM support anytime soon? I tried using the NPM library but icons did not work (got invalid path error) so I was forced to use div icons.
The leaflet/npm ecosystem goes out the window when you take into account plug-ins as well,
As they require script tags.
Thanks for all your hard work!
- mourner 10y agoIf the icons don't work when you use Leaflet through NPM, please report a bug at https://github.com/Leaflet/Leaflet/issues https://github.com/Leaflet/Leaflet/issues. This is certainly not an expected behavior. It might have regressed in recent versions.
- abustamam 10y agoI 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-7741039 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!