altosuilib: Fix offline map messages to match new meanings
authorKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2018 04:30:03 +0000 (21:30 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 7 Oct 2018 04:33:08 +0000 (21:33 -0700)
forbidden means outside of launch area.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosuilib/AltosUIMap.java

index 17ff4c1..3fb33d4 100644 (file)
@@ -278,10 +278,10 @@ public class AltosUIMap extends JComponent implements AltosFlightDisplay, AltosM
                                                message = "Internal error";
                                                break;
                                        case AltosMapTile.failed:
-                                               message = "Network error, check connection";
+                                               message = "Network error";
                                                break;
                                        case AltosMapTile.forbidden:
-                                               message = "Too many requests, try later";
+                                               message = "Outside of launch area";
                                                break;
                                        }
                                        if (message != null && tile_font != null) {