How to dynamically use fallback tiles from the previous zoom level of the same server in Leaflet?
I’m working on a mapping application using React with Leaflet for tile rendering. When tiles fail to load (due to network issues, server downtime, tiles not available), I want to dynamically use fallback tiles from the previous zoom level of the same server. This approach ensures a seamless user experience without resorting to static images or switching to a different server.