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

Airmass / Altitude boundary display in skymap #163

Merged
merged 4 commits into from
Oct 1, 2024
Merged

Conversation

timbeccue
Copy link
Collaborator

This change adds a feature to the skymap requested by Wayne: a yellow circle at a specific altitude or airmass that can be configured.
Screenshot 2024-10-01 at 2 26 39 PM

The value of altitude or airmass that is displayed can be set by the user
Screenshot 2024-10-01 at 2 27 34 PM
Screenshot 2024-10-01 at 2 27 17 PM

This input component will automatically convert between the two to keep the same circle across changes in units. For example, if the user has "2" entered with airmass selected and they change the units to altitude, the input will update to "30" and the yellow circle won't change. This conversion becomes less accurate at the extremes.

Hovering over the yellow circle will display a label showing the altitude at the bottom of the circle.
Screenshot 2024-10-01 at 2 32 06 PM

Copy link
Contributor

@mgdaily mgdaily left a comment

Choose a reason for hiding this comment

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

Really slick!

@timbeccue timbeccue merged commit 8dccb4e into dev Oct 1, 2024
1 check passed
@timbeccue timbeccue deleted the feature/airmass-circle branch October 1, 2024 21:12
@wrosing
Copy link

wrosing commented Oct 1, 2024 via email

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.

3 participants