From 2ab38669f6ae4cbb2bc90320586332da8f7cf70d Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Mon, 21 Nov 2016 22:19:59 -0500 Subject: Update default display modes, show more airports --- .../com/benburwell/planes/gui/aircraftmap/AircraftMap.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/com/benburwell/planes/gui/aircraftmap/AircraftMap.java b/src/main/java/com/benburwell/planes/gui/aircraftmap/AircraftMap.java index d98dc60..c1727d0 100644 --- a/src/main/java/com/benburwell/planes/gui/aircraftmap/AircraftMap.java +++ b/src/main/java/com/benburwell/planes/gui/aircraftmap/AircraftMap.java @@ -44,7 +44,10 @@ public class AircraftMap extends JPanel { // airports public final Set VALID_AIRPORT_TYPES = new HashSet<>(Arrays.asList(new String[]{ "large_airport", - "medium_airport" + "medium_airport", + "small_airport", + "heliport", + "seaplane_base" })); // instance fields @@ -57,10 +60,10 @@ public class AircraftMap extends JPanel { private double centerLongitude; private int pixelsPerNauticalMile = 10; - private DisplayMode navaidDisplayMode = DisplayMode.HIDDEN; - private DisplayMode airportDisplayMode = DisplayMode.HIDDEN; - private DisplayMode routeDisplayMode = DisplayMode.HIDDEN; - private DisplayMode runwayDisplayMode = DisplayMode.HIDDEN; + private DisplayMode navaidDisplayMode = DisplayMode.DETAILED; + private DisplayMode airportDisplayMode = DisplayMode.DETAILED; + private DisplayMode routeDisplayMode = DisplayMode.BASIC; + private DisplayMode runwayDisplayMode = DisplayMode.BASIC; /** * Construct a map -- cgit v1.2.3