altosui: Display data for point nearest cursor in map view
[fw/altos] / altoslib / AltosMapPathPoint.java
index 9a1edd421c62c0bba375f2b51b45023ab8c2c31e..c23d8567bda162428833cdbdb6c4c3b2f81ea758 100644 (file)
@@ -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;
        }
 }