Fix ALTN
This commit is contained in:
parent
56bab27f46
commit
0af3d5bc4d
1 changed files with 2 additions and 2 deletions
|
@ -463,10 +463,10 @@ var fplnPage = { # this one is only created once, and then updated - remember th
|
||||||
alt_cstr: nil,
|
alt_cstr: nil,
|
||||||
alt_cstr_type: nil,
|
alt_cstr_type: nil,
|
||||||
fly_type: "flyBy",
|
fly_type: "flyBy",
|
||||||
lat: altnApt.lat,
|
lat: altnApt[0].lat,
|
||||||
leg_bearing: courseAndDistance(findAirportsByICAO(fmgc.FMGCInternal.arrApt)[0], altnApt[0])[0],
|
leg_bearing: courseAndDistance(findAirportsByICAO(fmgc.FMGCInternal.arrApt)[0], altnApt[0])[0],
|
||||||
leg_distance: courseAndDistance(findAirportsByICAO(fmgc.FMGCInternal.arrApt)[0], altnApt[0])[1],
|
leg_distance: courseAndDistance(findAirportsByICAO(fmgc.FMGCInternal.arrApt)[0], altnApt[0])[1],
|
||||||
lon: altnApt.lon,
|
lon: altnApt[0].lon,
|
||||||
speed_cstr: nil,
|
speed_cstr: nil,
|
||||||
speed_cstr_type: nil,
|
speed_cstr_type: nil,
|
||||||
wp_name: fmgc.FMGCInternal.altAirport,
|
wp_name: fmgc.FMGCInternal.altAirport,
|
||||||
|
|
Loading…
Reference in a new issue