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 /altoslib/AltosMapPathPoint.java | |
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 'altoslib/AltosMapPathPoint.java')
-rw-r--r-- | altoslib/AltosMapPathPoint.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/altoslib/AltosMapPathPoint.java b/altoslib/AltosMapPathPoint.java index 9a1edd42..c23d8567 100644 --- a/altoslib/AltosMapPathPoint.java +++ b/altoslib/AltosMapPathPoint.java @@ -25,6 +25,7 @@ import java.util.concurrent.*; public class AltosMapPathPoint { public AltosLatLon lat_lon; + public double time; public int state; public int hashCode() { @@ -43,8 +44,9 @@ public class AltosMapPathPoint { return lat_lon.equals(other.lat_lon) && state == other.state; } - public AltosMapPathPoint(AltosLatLon lat_lon, int state) { + public AltosMapPathPoint(AltosLatLon lat_lon, double time, int state) { this.lat_lon = lat_lon; + this.time = time; this.state = state; } } |