For a few hours I got timeout errors and parts of the map were blue.
OpenStreetMap often sends Gateway Timeout error
https://forum.openstreetmap.org/viewtopic.php?id=68026
The issue seams due to be caused by some OSM server and not due to my code.
What is the recommended way to handle that (temporal) issue? I would like to
- show a warning for the user to inform about temporal OSM issues
- switch the map to an alternative layer or another OSM server.
A manual way to check the availability could be to fetch some tile image like https://tile.openstreetmap.org/8/136/85.png and check how long it takes to get it.
Does leaflet already provide some build in solution/API function for layer error handling?
