-
Notifications
You must be signed in to change notification settings - Fork 49
Add option to hide horizon rings. #102
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
base: master
Are you sure you want to change the base?
Conversation
| // "Position", | ||
| "1 hour", | ||
| "6 hours", | ||
| "12 hours", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To get a consistent experience on mobile, this list needs to be at most 6 entries, and entries need to match the backend code. It doesn't automatically handle arbitrary intervals
| if(follow_vehicle !== null) update_lookangles(follow_vehicle); | ||
| } | ||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we combine these into a single function to hide/show the rings via a parameter for a single vehicle, and adjust other code to use it. There are two cases above when adding the position where you can simply reuse that new function
| <script type="text/javascript" language="javascript" src="js/nite-overlay.js"></script> | ||
| <script type="text/javascript" language="javascript" src="js/tracker.js"></script> | ||
| <script type="text/javascript" language="javascript" src="js/app.js"></script> | ||
| --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get rid of these
As the name suggests. This has been running on tracker.sondehub.org for a few months now.