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

icon angle #1

Open
dazzag24 opened this issue Feb 14, 2019 · 0 comments
Open

icon angle #1

dazzag24 opened this issue Feb 14, 2019 · 0 comments

Comments

@dazzag24
Copy link

Hi,
Firstly I'd like to thank you for a really useful demo!

Just a quick note to point out that you don't need to convert from radians to degrees in getAngle

getAngle: d => 45 + (d.true_track * 180) / Math.PI

as the openskynetwork returns true_track in degrees.

https://opensky-network.org/apidoc/rest.html#response:
"True track in decimal degrees clockwise from north (north=0°). Can be null"

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

No branches or pull requests

1 participant