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

Fix as_leaflet_layer #1037

Merged

Conversation

davidbrochart
Copy link
Member

Follow-up to #1033.

@davidbrochart
Copy link
Member Author

There seems to still be an issue in the docs though.

@davidbrochart
Copy link
Member Author

My bad, the docs are fine locally. I'm going to revert the changes to the docs so that it's as in #1033 @banesullivan.

@davidbrochart davidbrochart merged commit 208db4a into jupyter-widgets:master Aug 10, 2022
@davidbrochart davidbrochart deleted the as_leaflet_layer branch August 10, 2022 17:58
@@ -1172,8 +1172,6 @@ def add(self, layer):

if isinstance(layer, dict):
layer = basemap_to_tiles(layer)
elif hasattr(layer, 'as_leaflet_layer'):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably keep it here too though.

I wonder if we could implement remove and substitute too.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, let's do all that in follow-up PRs.

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