[openstreetmap/openstreetmap-website] JS crash when WebGL is disabled (Issue #6240)

mmd notifications at github.com
Thu Aug 21 09:45:26 UTC 2025


mmd-osm left a comment (openstreetmap/openstreetmap-website#6240)

Javascript console stacktraces point to https://github.com/maplibre/maplibre-gl-leaflet, in particular removing layers is done without any checks if _glMap has been successfully initialized in the first place: https://github.com/maplibre/maplibre-gl-leaflet/blob/main/leaflet-maplibre-gl.js#L58

I'd recommend to report this issue to maplibre-gl-leaflet. They could add a bit more error handling.

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

Message ID: <openstreetmap/openstreetmap-website/issues/6240/3209789639 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250821/71ff25d5/attachment.htm>


More information about the rails-dev mailing list