summaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorBen Burwell <ben.burwell@trifecta.com>2016-11-21 22:19:59 -0500
committerBen Burwell <ben.burwell@trifecta.com>2016-11-21 22:19:59 -0500
commit2ab38669f6ae4cbb2bc90320586332da8f7cf70d (patch)
tree2d8dccd312e00fad2893e7ac329171e0de770ec4 /src/main/java/com
parent169e2b57413c823a7e974208b5edc83941ed06de (diff)
Update default display modes, show more airportsHEADmaster
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/benburwell/planes/gui/aircraftmap/AircraftMap.java13
1 files changed, 8 insertions, 5 deletions
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<String> 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