cds-astro / aladin-lite

An astronomical HiPS visualizer in the browser
https://aladin.cds.unistra.fr/AladinLite/
GNU General Public License v3.0
103 stars 42 forks source link

PolySelect implementation and miscellaneous selection improvements #195

Closed pmatsson closed 2 weeks ago

pmatsson commented 1 month ago

Hi,

This PR introduces the implementation of the PolySelect algorithm along with several customizations that enhance usability and functionality for our use case.

Key Changes:

Please let me know if you have any questions or suggestions for further improvements!

Closes #99

bmatthieu3 commented 1 month ago

Hi @pmatsson - thank you for the PR that is awesome. Selecting sources with polygon works great that is cool! I checked there is an issue with the filledColor of the polygon selection that ignores the opacity. I will spend some time debugging it but if you have time, do you hesitate to run the tests with: npm run serve and for example you can run the al-easy-access-simbad-ned.html There to do a poly selection:

You will now be in polygonal selection mode.

pmatsson commented 1 month ago

Hi @bmatthieu3, Thanks for replying. I checked the issue with selection opacity and reverted that part to its previous implementation.