Feature: Map compass and north alignment#237
Feature: Map compass and north alignment#237AbsentData wants to merge 3 commits intoslowlydev:mainfrom
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. |
|
@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.