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

[WIP] Add MagnifyingGlass layer #733

Merged
merged 3 commits into from
Oct 19, 2020

Conversation

davidbrochart
Copy link
Member

Fixes #720

this.remove_layer_view,
this
);
this.layer_views.update(this.model.get('layers'));
Copy link
Member

Choose a reason for hiding this comment

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

This call is async, so the line after your list might be empty.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point, that was it, thanks!

@davidbrochart
Copy link
Member Author

Still some work to do with attribute update.

@davidbrochart
Copy link
Member Author

An improvement could be to listen to the mouse position on the front-end and to update the lat_lng trait accordingly.
Otherwise I think it is ready to be reviewed/merged.

@davidbrochart
Copy link
Member Author

image

@davidbrochart davidbrochart merged commit 8291cb5 into jupyter-widgets:master Oct 19, 2020
@davidbrochart davidbrochart deleted the magnifying_glass branch October 19, 2020 12:53
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.

Magnifying glass
2 participants