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/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to