jupyter-widgets / ipyleaflet

A Jupyter - Leaflet.js bridge
https://ipyleaflet.readthedocs.io
MIT License
1.48k stars 363 forks source link

Make Leaflet-Geoman ignore created layers by default #1220

Open riccardoporreca opened 1 month ago

riccardoporreca commented 1 month ago

Fixes #1215, see discussion therein.

The possible usage of pm_ignore=False is now also included in the in 'Geoman Draw Control' documentation page (with some minor adjustments to existing content)

riccardoporreca commented 1 month ago

Let me know if and how I should add an entry in CHANGELOG.md

riccardoporreca commented 1 month ago

The docs failure is unrelated to the changes, see https://app.readthedocs.org/projects/ipyleaflet/builds/25076525/#238126839--263

The geopandas.dataset has been deprecated and was removed in GeoPandas 1.0. You can get the original 'naturalearth_lowres' data from https://www.naturalearthdata.com/downloads/110m-cultural-vectors/.

I could build the docs locally commenting out the corresponding example, to verify how the updated Geoman Draw Control page looks.