mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-05 06:26:50 +00:00
more work on extracting airplane infos
This commit is contained in:
parent
018104617d
commit
095bdf38bf
7 changed files with 186 additions and 39 deletions
|
|
@ -404,10 +404,11 @@ $(function(){
|
|||
};
|
||||
|
||||
var linkifyAircraft = function(source, identification) {
|
||||
var aircraftString = identification || source.icao || source.flight;
|
||||
var aircraftString = identification || source.humanReadable || source.flight || source.icao;
|
||||
var link = false;
|
||||
switch (aircraft_tracking_service) {
|
||||
case 'flightaware':
|
||||
if (!source.icao) break;
|
||||
link = 'https://flightaware.com/live/modes/' + source.icao;
|
||||
if (identification) link += "/ident/" + identification
|
||||
link += '/redirect';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue