opengeos/leafmap

'Map' object has no attribute 'edit_points'

robmarkcole opened this issue · 5 comments

In https://leafmap.org/notebooks/95_edit_vector/ I get error

AttributeError: 'Map' object has no attribute 'edit_points'
  • leafmap==0.35.11
  • vscode

No issues on colab, seems to be related to the env

Your leafmap version is outdated. This function was added recently. You need to update leafmap to use it

Interesting, it was a fresh install from pypi an hour ago. One of the following must have downgraded it..

lonboard==0.3.0
numpy<2
rioxarray
xarray
rasterio

Probably

lonboard 0.3.0 requires anywidget<0.7.0,>=0.6.3, but you have anywidget 0.9.13 which is incompatible.

Try removing lonboard and numpy version pin

Uninstalled lonboard, now have leafmap==0.38.12 and no issue. So it was the lonboard pin from 84_read_parquet.ipynb