High-level answer, with some doubts:
The Leaflet TileLayer
class has a tileload
event that you can subscribe to. The tiles in Leaflet are img
elements, so in this event you could set the title
attribute of the img element to a high-res version of the tile, which is what wadda needs.
The problem is that normal tile servers serve tiles which are all of the same size. If you zoom in, you get a higher resolution tile, but of a smaller area. For the wadda to work, I think you'd need a high res tile of the same area. So if the original tile is 256x256px, and you want to zoom up to 2x, the high res URL would have to serve a 512x512px tile of the same area.
On the upside, given a server that does that (or perhaps two servers), I suspect it'd be quite doable like this..