load and idle event never triggered when a source loading fails #5430
Labels
bug
Something isn't working
enhancement
New feature or request
PR is more than welcomed
Extra attention is needed
It seems that when source fails to load that the
load
andidle
event are never triggered.I suppose that if tiles.json requests fails the map should just ignore them and triggers the events properly.
maplibre-gl-js version: 5
browser: all
Steps to Trigger Behavior
Link to Demonstration
Open https://codepen.io/oterral/pen/YPKgyGq
or try this:
Expected Behavior
idle
andload
events are triggeredActual Behavior
idle
andload
events are not triggeredThe text was updated successfully, but these errors were encountered: