Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't show Map on Colab #1132

Closed
Daniel-Trung-Nguyen opened this issue Jul 8, 2022 · 3 comments · Fixed by #1143
Closed

Can't show Map on Colab #1132

Daniel-Trung-Nguyen opened this issue Jul 8, 2022 · 3 comments · Fixed by #1143
Labels
bug Something isn't working

Comments

@Daniel-Trung-Nguyen
Copy link

Hi,
I can't seem to be able to show the Map object in google colab. It only shows a white empty output cell as in photo below. I am not sure if it is a temporary problem with Colab or a bug in geemap.
Cheers,
Daniel

image

@Daniel-Trung-Nguyen Daniel-Trung-Nguyen added the bug Something isn't working label Jul 8, 2022
@giswqs
Copy link
Member

giswqs commented Jul 8, 2022

Thanks for reporting. It appears that this is not just a geemap problem. ipyleaflet does not work either. It is probably a Colab problem.

import ipyleaflet
m = ipyleaflet.Map()
m

@davidbrochart
Copy link

Looks like ipyleaflet v0.16 works, but not v0.17.

@avila-a
Copy link

avila-a commented Jul 10, 2022

Hi all, thanks for this. I am glad I found this bug issue.

While the issue with v0.17 gets sorted adding !pip install ipyleaflet==0.16 in the first lines of Colab solved the issue for me, hopefully it is useful for others.

giswqs added a commit that referenced this issue Jul 11, 2022
@giswqs giswqs linked a pull request Jul 11, 2022 that will close this issue
giswqs added a commit that referenced this issue Jul 11, 2022
Pin ipyleaflet version for Colab #1132
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants