leafmap
leafmap copied to clipboard
pmtiles layer clashes with some drawing tools
Environment Information
- leafmap version: 0.31.9
- Python version: 3.10.12
- Operating System: ubuntu 22.03
Description
- The polygon draw tool no longer works when we add a pmtiles layer to the leafmap. (nothing happens when we click to draw points).
- The bounding box and circle tool still work, but with a weird bug in which the most recently added pmtiles layer moves as we draw.
What I Did
Here's a quick leafmap-rendered html that illustrates this problem: https://data.source.coop/cboettig/fire/fire-pmtiles.html, source code at: https://data.source.coop/cboettig/fire/map.py, though I believe this occurs on any leafmap map that uses add_pmtiles.
This is possibly another upstream problem, I can try following up with folium-pmtiles...