phpvms
phpvms copied to clipboard
LiveMap InfoBox Not Showing Aircraft Details | Rivet JS (Bug Report)
LiveMap Widget, Map Info Box is not showing aircraft data (registration and type) even though the same data is available at table below. With the latest fixes, missing 3 fields are fixed (GS/Altitute/Heading) but aircraft info is still returning nothing.
Version 7.0.0-dev+210604.96d33c
Expected behavior Like all other fields, rivet should provide aircraft info too.
<table class="table table-sm table-borderless mb-0 text-left">
<tr>
<td class="align-middle"><img rv-src="pirep.airline.logo" height="40px;"/></td>
<td class="align-middle"><b>{ pirep.airline.icao }{ pirep.flight_number }</b></td>
<td class="align-middle"><span rv-title="pirep.dpt_airport.location">{ pirep.dpt_airport.name } ({pirep.dpt_airport.iata})</span></td>
<td class="align-middle"><span rv-title="pirep.arr_airport.location">{ pirep.arr_airport.name } ({pirep.arr_airport.iata})</span></td>
<td class="align-middle"><span rv-title="pirep.aircraft.icao">{ pirep.aircraft.registration }</span></td>
<td class="align-middle text-center"><span title="Ground Speed">{ pirep.position.gs } kt</span></td>
<td class="align-middle text-center"><span title="Altitude">{ pirep.position.altitude } ft</span></td>
<td class="align-middle text-center"><span title="Heading">{ pirep.position.heading } °</span></td>
<td class="align-middle text-right">{ pirep.status_text }</td>
<td class="align-middle text-right"><b>{ pirep.user.name_private }</b></td>
</tr>
</table>
Still open?
It is.
<table class="table table-sm table-borderless text-start align-middle mb-0">
<tr>
<td><img rv-src="pirep.airline.logo" height="40px;"/></td>
<th>{ pirep.airline.iata }{ pirep.flight_number }</th>
<td><span rv-title="pirep.dpt_airport.location">{ pirep.dpt_airport.name } ({pirep.dpt_airport.iata})</span></td>
<td><span rv-title="pirep.arr_airport.location">{ pirep.arr_airport.name } ({pirep.arr_airport.iata})</span></td>
<td><span rv-title="pirep.aircraft.icao">{ pirep.aircraft.registration }</span></td>
<td class="text-center"><span title="Ground Speed">{ pirep.position.gs } kts</span></td>
<td class="text-center"><span title="Altitude">{ pirep.position.altitude } ft</span></td>
<td class="text-center"><span title="Heading">{ pirep.position.heading }°</span></td>
<td class="text-end">{ pirep.status_text }</td>
<th class="text-end">{ pirep.user.ident } { pirep.user.name_private }</th>
</tr>
</table>
No aircraft info between arrival airport and ground speed.
Still open, just a reminder