[SCIDB-82] change color of clicked objects Created: 26/Mar/20  Updated: 30/Jun/20  Resolved: 30/Jun/20

Status: Done
Project: Science Database
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Normal
Reporter: Masayuki Tanaka Assignee: michitaro
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: hscMap module
Reviewers: Masayuki Tanaka

 Description   

When a user clicked on a marked object, change the color of the marker.



 Comments   
Comment by michitaro [ 18/May/20 ]

This issue should be in epic 'hscMap module'.

Comment by michitaro [ 30/Jun/20 ]

This can be done through a new class SelectableCatalog.

selectable_catalog = SelectableCatalog(w1, query_result)
print(selectable_catalog.indices)
  • Objects of selectable catalog can be selected or deselected by clicking on it.
  • Indices of selected objects are obtained by SelectableCatalog.indices.

https://drive.google.com/open?id=1HZmTH-REXBdMd383whYgwv_-pm39SPlY&authuser=koike.michitaro.md%40alumni.tsukuba.ac.jp&usp=drive_fs

Comment by michitaro [ 30/Jun/20 ]

Done.

Generated at Sat Feb 10 16:46:21 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.