Showing 3 changed files with 15 additions and 4 deletions
+10 -2
Nasal/softkeys.nas
... ...
@@ -57,8 +57,16 @@ var softkeysClass = {
57 57
         PFD : {
58 58
             INSET: {
59 59
                 OFF: func {
60
-                    pop(me.path);
61
-                    me.device.display.updateSoftKeys();
60
+                    me.device.display.MapTiles.setVisible(0);
61
+                    me.device.display.MapNavaids.setVisible(0);
62
+                    me.device.display.screenElements['PFD-Map-bg'].hide();
63
+                },
64
+                hook : func {
65
+                    me.device.display.screenElements['PFD-Map-bg'].show();
66
+                    me.device.display.MapTiles.setVisible(1);
67
+                    me.device.display.MapNavaids.setVisible(1);
68
+                    me.device.display.MapTiles.update();
69
+                    me.device.display.MapNavaids.update();
62 70
                 },
63 71
             },
64 72
             PFD: {
+4 -1
README.md
... ...
@@ -73,6 +73,7 @@ Please report bug at <seb.marque@free.fr>.
73 73
   * some aircraft specific data to retrieve from aircraft XML files (VNE, etc)
74 74
   * possibility to add a copilot's PFD, and other displays
75 75
   * EIS: separation for aircraft specifics (selected by the zkv1000 config)
76
+  * Inset Map (PFD)
76 77
 * ![][90%]
77 78
   * TMR/REF Timer ![][done], Vspeeds ![][done], minimums ![][pending] (don't understand the role of this)
78 79
   * angle of attack display (not sure about calculation): specific for each airplane (see Installation instructions below)
... ...
@@ -97,8 +98,10 @@ Please report bug at <seb.marque@free.fr>.
97 98
 * ![][0%] (TODO list, unsorted)
98 99
   * CDI/GPS: scale depending of the flight phase
99 100
   * Alerts
101
+  * Map settings: declutter, range/zoom
102
+  * TOPO map
103
+  * Weather map
100 104
   * Flight planning (MFD)
101
-  * Inset Map (PFD)
102 105
   * PFD settings
103 106
   * texture for some MFD buttons
104 107
   * rotation and zooming of online maps in-flight ![][pending]
+1 -1
Systems/screen.svg
... ...
@@ -7003,7 +7003,7 @@
7003 7003
          inkscape:label="PFD-Map-bg"
7004 7004
          y="492"
7005 7005
          x="13"
7006
-         height="218.00002"
7006
+         height="218"
7007 7007
          width="215"
7008 7008
          id="PFD-Map-bg"
7009 7009
          style="opacity:1;fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />