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

Add Colab support #869

Closed
wants to merge 0 commits into from
Closed

Add Colab support #869

wants to merge 0 commits into from

Conversation

giswqs
Copy link
Contributor

@giswqs giswqs commented Sep 11, 2021

Colab now supports ipyleaflet (googlecolab/colabtools#498 (comment)). Users need to run the following two lines at the beginning of a Colab notebook in order to display the map. Adding these two lines to __init__.py will make it easier to use ipyleaflet on Colab.

from google.colab import output
output.enable_custom_widget_manager()

Reference: #864

I already updated geemap and leafmap to use the ipyleaflet plotting backend on Colab. Check out the Colab example: https://gishub.org/leafmap_colab

@martinRenou
Copy link
Member

I moved your commit to this branch and opened a new PR #871

Please open PRs from other branches than master :) It makes things easier, I don't want to mess with your master branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants