mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-21 06:13:45 +00:00
add IAS and TAS display
This commit is contained in:
parent
2fc4f7fd3a
commit
d8e5c84839
3 changed files with 12 additions and 2 deletions
|
|
@ -6,8 +6,9 @@ PlaneMarker.prototype.draw = function() {
|
|||
var svg = this.svg;
|
||||
if (!svg) return;
|
||||
|
||||
if (this.groundtrack) {
|
||||
svg.style.transform = 'rotate(' + (this.groundtrack) + 'deg)';
|
||||
var angle = this.groundtrack || this.heading;
|
||||
if (angle) {
|
||||
svg.style.transform = 'rotate(' + angle + 'deg)';
|
||||
} else {
|
||||
svg.style.transform = null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue