diff --git a/webgui/widgets/map.html b/webgui/widgets/map.html index bf5c7fd98..c524afb41 100644 --- a/webgui/widgets/map.html +++ b/webgui/widgets/map.html @@ -19,6 +19,15 @@ margin: 5px 5px; } +.aircraft-marker-altitude { + width: 33%; +} + +.aircraft-marker-heading { + text-align: center; + width: 33%; +} + .aircraft-marker { float: left; color: #00ff00; @@ -28,4 +37,4 @@ .aircraft-marker span { padding-left: 0.5em; } - \ No newline at end of file + diff --git a/webgui/widgets/map.js b/webgui/widgets/map.js index 91d877405..5b1b98f4d 100644 --- a/webgui/widgets/map.js +++ b/webgui/widgets/map.js @@ -80,15 +80,16 @@ define( className : 'aircraft-marker-popup', closeOnClick : false, maxWidth : 200, - minWidth : 100, + minWidth : 120, offset : [ 30, 30 ], }, this); this.popup - .setContent('
ft
' + .setContent( '
ft
' + '
°
' - + '
kt
'); + + '
kt
' + ); this.bindPopup(this.popup); this.addTo(this._map); this.openPopup();