Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ivac2:firdef_map_nav [2013/12/04 01:10]
127.0.0.1 external edit
ivac2:firdef_map_nav [2017/04/08 14:27] (current)
Line 2: Line 2:
  
 ====== nav element ====== ====== nav element ======
 +
 +Draw navigation points (VOR, NDB, fixes, VFR reporting points, ...) with or without text labels. ​ NAV elements can be also be used to draw text labels on a map.
  
  
Line 34: Line 36:
 ===== example ===== ===== example =====
  
 +Draw VFR reporting points using a predefined symbol:
 +
 +<code XML>
   <​maps>​   <​maps>​
       <map id="​VFR REP POINTS"​ name="​VFR"​ threshold="​150">​       <map id="​VFR REP POINTS"​ name="​VFR"​ threshold="​150">​
-          <nav id="​TERNAT"​ short="​TE" ​ symbol="​vfr"​ lat="​N0505216"​ lon="​E0041014"​ color="​VFR"/>​ +          <nav id="​TERNAT"​ short="​TE" ​ symbol="​vfr"​ lat="​N0505216"​ lon="​E0041014"​ color="​VFR"​ /> 
-          <nav id="​GRBIJG"​ short="​GB" ​ symbol="​vfr"​ lat="​N0505231"​ lon="​E0041626"​ color="​VFR"/>​ +          <nav id="​GRBIJG"​ short="​GB" ​ symbol="​vfr"​ lat="​N0505231"​ lon="​E0041626"​ color="​VFR"​ /> 
-          <nav id="​ATOM" ​  ​short="​AT" ​ symbol="​vfr"​ lat="​N0505342"​ lon="​E0042029"​ color="​VFR"/>​ +          <nav id="​ATOM" ​  ​short="​AT" ​ symbol="​vfr"​ lat="​N0505342"​ lon="​E0042029"​ color="​VFR"​ /> 
-          <nav id="​BRUCAR"​ short="​CA" ​ symbol="​vfr"​ lat="​N0505420"​ lon="​E0042726"​ color="​VFR"/>​ +          <nav id="​BRUCAR"​ short="​CA" ​ symbol="​vfr"​ lat="​N0505420"​ lon="​E0042726"​ color="​VFR" tag="N" /> 
-          <nav id="​PEUTIE"​ short="​PU" ​ symbol="​vfr"​ lat="​N0505555"​ lon="​E0042748"​ color="​VFR"/>​ +          <nav id="​PEUTIE"​ short="​PU" ​ symbol="​vfr"​ lat="​N0505555"​ lon="​E0042748"​ color="​VFR"​ /> 
-          <nav id="​MECH" ​  ​short="​ME" ​ symbol="​vfr"​ lat="​N0510042"​ lon="​E0042746"​ color="​VFR"/>​ +          <nav id="​MECH" ​  ​short="​ME" ​ symbol="​vfr"​ lat="​N0510042"​ lon="​E0042746"​ color="​VFR"​ /> 
-          <nav id="​ABMECH"​ short="​AM" ​ symbol="​vfr"​ lat="​N0510117"​ lon="​E0043023"​ color="​VFR"/>​ +          <nav id="​ABMECH"​ short="​AM" ​ symbol="​vfr"​ lat="​N0510117"​ lon="​E0043023"​ color="​VFR" tag="W" /> 
-          <nav id="​NOSSE" ​ short="​NO" ​ symbol="​vfr"​ lat="​N0505210"​ lon="​E0043038"​ color="​VFR"/>​ +          <nav id="​NOSSE" ​ short="​NO" ​ symbol="​vfr"​ lat="​N0505210"​ lon="​E0043038"​ color="​VFR"​ /> 
-          <nav id="​BERTEM"​ short="​BE" ​ symbol="​vfr"​ lat="​N0505226"​ lon="​E0043659"​ color="​VFR"/>​+          <nav id="​BERTEM"​ short="​BE" ​ symbol="​vfr"​ lat="​N0505226"​ lon="​E0043659"​ color="​VFR"​ />
       </​map>​       </​map>​
   </​maps>​   </​maps>​
 +</​code>​
  
  
 +Draw a text label (without using a symbol) - notice that newlines can be used:
 +
 +<code XML>
   <​maps>​   <​maps>​
       <map id="​LOA"​ name="​LOA">​       <map id="​LOA"​ name="​LOA">​
Line 54: Line 63:
       </​map>​       </​map>​
   </​maps>​   </​maps>​
 +</​code>​
  
  
 A map containing VOR points could look like this: A map containing VOR points could look like this:
  
 +<code XML>
   <​maps>​   <​maps>​
       <map id="​VOR"​ name="​VOR">​       <map id="​VOR"​ name="​VOR">​
Line 68: Line 79:
       </​map>​       </​map>​
   </​maps>​   </​maps>​
 +</​code>​
 +
  
-If there is no short label defined, the long label (id) is always used.+note: if there is no short label defined, the long label (id) is always used.