opengeos / leafmap

A Python package for interactive mapping and geospatial analysis with minimal coding in a Jupyter environment
https://leafmap.org
MIT License
3.23k stars 389 forks source link

Add support for line and circle legend items #967

Closed giswqs closed 2 weeks ago

giswqs commented 2 weeks ago
m = leafmap.Map()
m.add_basemap("NLCD 2019 CONUS Land Cover")
m.add_legend(title="NLCD Land Cover Classification", builtin_legend="NLCD", shape_type="circle") # line or rectangle
m

image

github-actions[bot] commented 2 weeks ago

🚀 Deployed on https://672ff3dbb05111e588667199--opengeos.netlify.app

mergify[bot] commented 2 weeks ago

Thanks for the contribution @giswqs 🤩