This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ivac2:firdef_map_nav [2011/12/22 22:46] filip.jonckers |
ivac2:firdef_map_nav [2017/04/08 14:27] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
====== nav element ====== | ====== nav element ====== | ||
- | Use a linestrip element to draw a single point on the map. | + | 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. |
^Element|linestrip|| | ^Element|linestrip|| | ||
Line 35: | 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 55: | 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 69: | 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. |