Simon Legner

Results 175 comments of Simon Legner

I dislike the complexity added with `withInitHooks`. In the end we're only changing names (`initialize` to `constructor`) without gaining any real benefit. A huge strength of Leaflet always has been...

> I've found a bug - on [line 42 of `I18n.js`](https://github.com/simon04/Leaflet/blob/i18n/src/core/I18n.js#L42), the `data` parameter should be passed into the `Util.template(string)` call, when the locale is not set. Thanks for spotting...

@nfreear, thanks for listing additional places in the code. Regarding "OpenStreetMap contributors", I found it easier to mark "OpenStreetMap contributors" for translation and wrap it in the `` outside of...

Hi, please submit a PR following this guide: https://github.com/Leaflet/Leaflet/blob/main/PLUGIN-GUIDE.md#adding-to-the-plugins-list – Thank you!

https://github.com/oven-sh/bun/issues/25782 has a three line reproducer: ``` > bun add leaflet@https://github.com/Leaflet/Leaflet/archive/611aee1c561ae57ccca1fd28c5410010e387386e.tar.gz > bun patch leaflet > bun patch --commit leaflet panic(main thread): Segmentation fault at address 0x66 oh no: Bun...