diff --git a/index.html b/index.html index 5f8c760..af7c695 100644 --- a/index.html +++ b/index.html @@ -239,10 +239,10 @@

Other

- Constrain Float Predictions -
+ Wider Float Predictions +
- +

Overlays

diff --git a/js/app.js b/js/app.js index f0df2ee..2ea1f63 100644 --- a/js/app.js +++ b/js/app.js @@ -732,7 +732,7 @@ $(window).ready(function() { '#sw_show_testing', "#sw_nowelcome", "#sw_interpolate", - "#sw_float_constrained" + "#sw_float_wide" ]; // applies functionality when switches are toggled diff --git a/js/tracker.js b/js/tracker.js index c5006be..0a2c857 100644 --- a/js/tracker.js +++ b/js/tracker.js @@ -1682,13 +1682,13 @@ function generateHysplit(callsign) { hideHysplit(callsign) var vehicle = vehicles[callsign]; vehicle.prediction_hysplit_visible = true; - // If requested, constrain the float prediction altitudes to a narrower range. - if(offline.get("opt_float_constrained")){ - alt_max = 100; - alt_step = 20; - } else { + // If requested, widen the float prediction range. + if(offline.get("opt_float_wide")){ alt_max = 1000; alt_step = 100; + } else { + alt_max = 100; + alt_step = 20; } alt_min = alt_max*-1; for (var alt = alt_min; alt <= alt_max; alt+=alt_step) {