ipyleaflet icon indicating copy to clipboard operation
ipyleaflet copied to clipboard

getTileUrl

Open thomascoquet opened this issue 2 years ago • 0 comments

Hello,

Is it theoretically possible to pass a python function as getTileUrl in TileLayer?

This would allow to pass base64 images and to get IO control on python-side. Or even to generate dynamically images depending on tile coordinates. No need for localtileserver for example. I assume there might be some synchronization issues (threads/async?).

I am willing to help but my knowledge in python <-> js bindings in the widget ecosystem is quite limited.

Thanks, Thomas

thomascoquet avatar Jun 30 '23 19:06 thomascoquet