Closed giswqs closed 8 months ago
Thank you for opening an issue. Would you be able to provide the JavaScript console errors, if there are any?
@giswqs you might want to see https://github.com/openforis/sepal/issues/304.
I came across this fork which claims to run with JupyterLab>4. Perhaps it is possible to merge the commits from there.
https://github.com/cdanielw/ipyleaflet
Together with that fork, I uploaded a pre-built release we use in SEPAL, as an interim solution:
pip install https://github.com/cdanielw/ipyleaflet/releases/download/0.17.4/ipyleaflet-0.17.4-py3-none-any.whl
I never bothered to make a pull request, as I assume the ipyleaflet guys are on-top-of this issue. I just needed an immediate way to get this running.
If you could open a PR that would be great. We need help maintaining this.
It appears that JupyterLab 4.x breaks some ipyleaflet functionality. Changing map attributes (e.g., zoom, center) has no effect. It works fine in VS Code.
In JupyterLab:
In VS Code: