altosui: Display data for point nearest cursor in map view
[fw/altos] / altoslib / AltosMapPathPoint.java
index 409a6a5cf65b635b1b356fbb11ff309bb602cb7a..c23d8567bda162428833cdbdb6c4c3b2f81ea758 100644 (file)
@@ -16,7 +16,7 @@
  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  */
 
-package org.altusmetrum.altoslib_12;
+package org.altusmetrum.altoslib_13;
 
 import java.io.*;
 import java.lang.Math;
@@ -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;
        }
 }