Re: [openstreetmap/openstreetmap-website] Migrate new vector layers from maplibre-gl-leaflet to “unwrapped” maplibre-gl-js (Issue #6234)

Minh Nguyễn notifications at github.com
Sat Jul 26 16:01:00 UTC 2025


1ec5 left a comment (openstreetmap/openstreetmap-website#6234)

Aside from all the positive benefits of migrating to MapLibre for real, maplibre-gl-leaflet has some serious drawbacks that reflect poorly on the website. For example, the jittering and tearing in openstreetmap/openstreetmap-website#6226 openstreetmap/openstreetmap-website#6233 is specific to this plugin. While it has gotten worse with recent versions of MapLibre, similar issues have been raised against the forked plugin and the original [unmaintained](https://github.com/mapbox/mapbox-gl-leaflet/issues/96) Mapbox project for several years: mapbox/mapbox-gl-leaflet#143 maplibre/maplibre-gl-leaflet#26 https://github.com/maplibre/maplibre-gl-leaflet#63.

More worryingly, there’s an elusive bug where some tiles don’t draw until something forces a redraw of the tile, or never redraw at all. In OpenHistoricalMap, we’ve been seeing [unreproducible](https://discord.com/channels/413070382636072960/634106496560398349/1318752429067735052) reports of it for years, and now [similar reports](https://community.openstreetmap.org/t/vector-tiles-are-deployed-on-openstreetmap-org/133008/51) are coming in for this site too. I suspect it’s [a race condition](https://forum.openhistoricalmap.org/t/sufficient-performance/183/6?u=minh_nguyen) stemming from how the plugin works, but I haven’t looked into it further. Users will naturally attribute the lag to our tile servers being unresponsive rather than this rendering bug.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6234#issuecomment-3122092306
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6234/3122092306 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250726/fa015241/attachment.htm>


More information about the rails-dev mailing list