Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Direction overlay on device icon #159
Along the same lines as having a speed indicator as #124 , would it be possible to implement the device direction by means of an arrow overlay on or above the device icon?
Older versions of the web interface used to indicate direction in the side bar by degree from 0-359. The arrow image can be rotated based on this degree value and removed/changed at a value of speed 0.
This can be useful when looking at devices at a glance to get general direction rather than wait for an update or manually checking the archive, especially devices which poll to the server every few minutes rather than seconds.
@ramlaxmanrimal There should be more than six orientations, at least eight for the basic support (N, NE, E, SE, S, SW, W, NW). Anyway, I thought that an arrow icon can be rotated to the exact angle stored in 'course' column.
If you think that it is easy to implement then you are welcome to implement it yourself. Then you can send a pull request to share your work with all users of this UI mod.