diff options
| author | Keith Packard <keithp@keithp.com> | 2010-11-20 16:35:48 -0800 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-11-20 16:35:48 -0800 | 
| commit | 8df185cd95cfecbed8272dd1275d077c5b45535b (patch) | |
| tree | 00c4f1c40233977b9548c6067b0f0fad452642de /ao-tools/altosui/AltosUI.java | |
| parent | ece2c86e2641b2cd613791293526c492b1606aa1 (diff) | |
| parent | 1e712647dd6df1e77650db705f3ac32a3c8f6907 (diff) | |
Merge remote branch 'aj/sitemap' into buttonbox
Conflicts:
	ao-tools/altosui/AltosFlightUI.java
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools/altosui/AltosUI.java')
| -rw-r--r-- | ao-tools/altosui/AltosUI.java | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/ao-tools/altosui/AltosUI.java b/ao-tools/altosui/AltosUI.java index 6bfde014..93a5e0d8 100644 --- a/ao-tools/altosui/AltosUI.java +++ b/ao-tools/altosui/AltosUI.java @@ -353,7 +353,11 @@ public class AltosUI extends JFrame {  	public static void main(final String[] args) {  		int	process = 0;  		/* Handle batch-mode */ -		if (args.length == 2 && args[0].equals("--replay")) { +        if (args.length == 3 && args[0].equals("--fetchmaps")) { +            double lat = Double.parseDouble(args[1]); +            double lon = Double.parseDouble(args[2]); +            AltosSiteMap.prefetchMaps(lat, lon, 5, 5); +        } else if (args.length == 2 && args[0].equals("--replay")) {  			String filename = args[1];  			FileInputStream in;  			try {  | 
