Closed martinfleis closed 3 years ago
This a well-known issue related to ipyleaflet.
Could you try creating a fresh conda env to install leafmap? See https://leafmap.org/installation/#install-from-conda-forge
conda create -n geo python=3.8
conda activate geo
conda install geopandas
conda install mamba -c conda-forge
mamba install leafmap xarray_leaflet -c conda-forge
Alternatively, you can run leafmap directly using binder:
Thank you. Running jupyter labextension install jupyter-leaflet
fixed the issue.
In any case, I would suggest adding a troubleshooting section to the installation docs mentioning this, since it is a well-known issue.
Ah, now I see that it is actually mentioned in FAQ (https://leafmap.org/faq/#why-the-interactive-map-does-not-show-up). Might be better to expand (include the actual error message so it is searchable) on it and link it from installation docs.
Good suggestion. I have added a troubleshooting section to the installation and faq pages, which include the actual error message and it is searchable.
Perfect! Thanks a lot.
Environment Information
Description
This is a part of the review for JOSS (https://github.com/openjournals/joss-reviews/issues/3414)
I installed
leafmap
from conda-forge and tried to follow Get Started guide. However, while using ipyleaflet backend, no map is shown, only a messageError displaying widget: model not found
.What I Did
Environment specs: