You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to all who made this little wonderful program. Thank you.
What I am saying here is NOT an issue, may be a new feature request or simply my ignorance of figuring out things.
Whenever user clicks on the canvas, I am trying to visually indicate the selected star.
On click we can find the nearest object like as follows (extracted from samples provided) ::
...so, now we know the star user is trying to select, but how to show user, the star he selected. i.e visually indicating the selected star.
Checked addPointer method source, we can draw over the star by changing the label, but feeling inappropriate. if(this.pointers[i].ra == input.ra && this.pointers[i].dec == input.dec && this.pointers[i].label == input.label) matched = i;
I know little-bit of JavaScript, I appreciate any ideas/pointers/directions to highlight star(s) on canvas.
The text was updated successfully, but these errors were encountered:
Thanks to all who made this little wonderful program. Thank you.
What I am saying here is NOT an issue, may be a new feature request or simply my ignorance of figuring out things.
Whenever user clicks on the canvas, I am trying to visually indicate the selected star.
On click we can find the nearest object like as follows (extracted from samples provided) ::
...so, now we know the star user is trying to select, but how to show user, the star he selected. i.e visually indicating the selected star.
Checked addPointer method source, we can draw over the star by changing the label, but feeling inappropriate.
if(this.pointers[i].ra == input.ra && this.pointers[i].dec == input.dec && this.pointers[i].label == input.label) matched = i;
I know little-bit of JavaScript, I appreciate any ideas/pointers/directions to highlight star(s) on canvas.
The text was updated successfully, but these errors were encountered: