diff options
author | Keith Packard <keithp@keithp.com> | 2019-08-31 23:20:31 -0500 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2019-08-31 23:20:31 -0500 |
commit | b13893245e8c66b48e23bb2005ef6ce46e69744f (patch) | |
tree | 88813e4b389805463313de527f1c7c4176c61fe7 /altosui | |
parent | 936a5ff21d01db6f0084ee7e4712042c914942a5 (diff) |
altosui: Display data for point nearest cursor in map view
Include time, lat and lon
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui')
-rw-r--r-- | altosui/AltosGraphUI.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosGraphUI.java b/altosui/AltosGraphUI.java index 59b06c18..c1e18ac1 100644 --- a/altosui/AltosGraphUI.java +++ b/altosui/AltosGraphUI.java @@ -54,7 +54,7 @@ public class AltosGraphUI extends AltosUIFrame implements AltosFontListener, Alt gps.nsat >= 4) { if (map == null) map = new AltosUIMap(); - map.show(gps, (int) flight_series.value_before(AltosFlightSeries.state_name, gtv.time)); + map.show(gps, gtv. time, (int) flight_series.value_before(AltosFlightSeries.state_name, gtv.time)); this.gps = gps; gtv_last = gtv; has_gps = true; @@ -64,7 +64,7 @@ public class AltosGraphUI extends AltosUIFrame implements AltosFontListener, Alt if (gtv_last != null) { int state = (int) flight_series.value_after(AltosFlightSeries.state_name, gtv_last.time); if (state == AltosLib.ao_flight_landed) - map.show(gtv_last.gps, state); + map.show(gtv_last.gps, gtv_last.time, state); } } |