summaryrefslogtreecommitdiff
path: root/altosuilib/AltosUIMapNew.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-06-22 20:08:05 -0700
committerKeith Packard <keithp@keithp.com>2015-06-22 21:04:43 -0700
commit0f56903774d9e8bb033dfc0af6945e8ddc1d3065 (patch)
treeeac0d0900286d80253670738381e4de73481b4e0 /altosuilib/AltosUIMapNew.java
parenta959c1926048d1b96a06aa291131afd7c8e771c7 (diff)
altosdroid: Select tracker by clicking on map
This lets you pick a tracker from the map, rather than having to use the menu. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosUIMapNew.java')
-rw-r--r--altosuilib/AltosUIMapNew.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/altosuilib/AltosUIMapNew.java b/altosuilib/AltosUIMapNew.java
index 246222bc..8ac18296 100644
--- a/altosuilib/AltosUIMapNew.java
+++ b/altosuilib/AltosUIMapNew.java
@@ -358,10 +358,15 @@ public class AltosUIMapNew extends JComponent implements AltosFlightDisplay, Alt
zoom_label.setText(label);
}
+ public void select_object(AltosLatLon latlon) {
+ debug("select at %f,%f\n", latlon.lat, latlon.lon);
+ }
+
public void debug(String format, Object ... arguments) {
System.out.printf(format, arguments);
}
+
/* AltosFlightDisplay interface */
public void set_font() {