NASA is maintaining an excellent tiles API for the Jezero Crater area, "home" to the Perseverance Rover and the Ingenuity helicopter drone:
https://mars.nasa.gov/mmgis-maps/M20/Layers/M20_HiRISE_RGB_mosaic_25cm_v4p2/{z}/{x}/{y}.png
(valid zoom levels are 11:19)
Unfortunately, there doesn't seem to be any easy way to simply add this to the providers brought in by leaflet.providers. What is the best way to "point" Leaflet at such a "custom" endpoint??
NOTE: I've made an attempt, by "forking" the leaflet.providers package and adding a "M20" provider using the above, but it only "sort-of" works. I can observe when forced invalid requests for tiles are made by Leaflet (ie "good errors"), but I'm not actually seeing tiles when valid requests are made (no errors are seen in e.g. Chrome console). I know that Leaflet is doing the slippy math correctly.
Advice is welcome!!