A Python package for geospatial analysis and interactive mapping in a Jupyter environment. Version 0.61.1, released monthly.
pip install leafmapVerified import paths — ran on the pinned version, not inferred.
Create an interactive map with a Google Hybrid basemap.
Use `from leafmap import Map`
Reinstall leafmap or downgrade ipyvue: `pip install ipyvue<1.12.0`
Upgrade leafmap to >=0.60.0
Use `m.add_raster('file.tif', max_image_size=1000)`Use `from leafmap import Map` instead of `from leafmap.leafmap import Map`.
Pass an integer: `m.add_raster('file.tif', max_image_size=1000)`