-
-
Notifications
You must be signed in to change notification settings - Fork 183
Feature: Map compass and north alignment #237
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: main
Are you sure you want to change the base?
Conversation
Added a compass to the track map and an option to rotate the track map so that north is up.
|
@AbsentData is attempting to deploy a commit to the f1-dash Team on Vercel. A member of the Team first needs to authorize it. |
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.
|
@MrBiscuit921 can you show the code you used for that? Also, I would recommend using |
this is my code i dont know how well it is for performance or anything but this is what i used |
|
Ah, I was missing the textAnchor and dominantBaseline. It is easier than how you did it though since we already know the distance. I'm added it and I'm gonna commit the changes real quick. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
I think that could look great, please send the SVGs |
|
So since all the values in that are hardcoded in, including the text being hardcoded paths, I can't really use that. If you can show me how you got that svg or at least provide some more states for it, I can maybe use it, but as-is I don't know how to go about using that. |
|
@slowlydev I know this is a low priority feature but I would love to return to this at some point. |



Solves #199, adds a compass to the track map and an option to toggle it, as well as an option to rotate the track so that it faces north. I don't fully understand how the map works right now so I doubt this code fits well, but I have tested it and it seems to consistently work well.