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

Select every shape (footprint, source, MOC tile) within a polygon #99

Open
imbasimba opened this issue Jun 6, 2023 · 3 comments
Open
Labels

Comments

@imbasimba
Copy link
Contributor

Instead of having to select every source or footprint of interest individually, it would be great to allow users to draw polygons, circles, and rectangles to select all shapes within the drawn region.

Deselection should also be possible by drawing a shape, but I'm not sure what the best solution is for that. In ESASky, we make deselections by drawing from right to left, but there may be better ways of doing that. Potentially holding the alt key while drawing the shape or something along those lines.

Examples of how it was patched into Aladin Lite 2:
https://www.youtube.com/watch?v=wGKX6L1sMw4&t=8s

@bmatthieu3
Copy link
Collaborator

bmatthieu3 commented Jun 6, 2023

This is a good thing to have in the aladin lite core. This is somewhat linked to #81

@bmatthieu3
Copy link
Collaborator

there is a new select method with different modes. Documentation is here: https://cds-astro.github.io/aladin-lite/Aladin.html#select

@ManonMarchand
Copy link
Member

Related to cds-astro/ipyaladin#8

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

No branches or pull requests

3 participants