lose the map related code
[fw/altos] / teststand / AltosFlightUI.java
index e0605085115580cf479b4bccbc808fbe2047bdb5..32f24994d513becdaf3a9ef3909e86e472ed75dc 100644 (file)
@@ -39,8 +39,6 @@ public class AltosFlightUI extends AltosUIFrame implements AltosFlightDisplay {
        AltosIgnitor    igniter;
        AltosLanded     landed;
        AltosCompanionInfo      companion;
-       AltosUIMap      sitemap;
-       boolean         has_map;
        boolean         has_companion;
        boolean         has_state;
        boolean         has_igniter;
@@ -134,18 +132,6 @@ public class AltosFlightUI extends AltosUIFrame implements AltosFlightDisplay {
                        }
                }
 
-               if (state.gps != null) {
-                       if (!has_map) {
-                               pane.add("Site Map", sitemap);
-                               has_map = true;
-                       }
-               } else {
-                       if (has_map) {
-                               pane.remove(sitemap);
-                               has_map = false;
-                       }
-               }
-
                for (AltosFlightDisplay d : displays) {
                        try {
                                d.show(state, listener_state);
@@ -275,10 +261,6 @@ public class AltosFlightUI extends AltosUIFrame implements AltosFlightDisplay {
                has_companion = false;
                has_state = false;
 
-               sitemap = new AltosUIMap();
-               displays.add(sitemap);
-               has_map = false;
-
                /* Make the tabbed pane use the rest of the window space */
                bag.add(pane, constraints(0, 4, GridBagConstraints.BOTH));