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 | |
---|---|---|
Attribute | Format | Remarks |
id | string | navigation point id, also used for the long label |
short | string | short label |
symbol | string | symbol id used to draw the navigation point (see also symbols.xml) |
tag | string | defines at which location relative to the nav point the tag shall be drawn, possible values are: N, NE, E, SE, S, SW, W, NW |
lat | latitude | string containing the latitude |
lon | longitude | string containing the longitude |
x | float | cartesian X value (if lat/lon not used) |
y | float | cartesian Y value (if lat/lon not used) |
stipple | integer | stipple line bitwise pattern definition |
width | float | line width in pixels |
color | string | color id name |
r | byte | color RGB value (0-255) |
g | byte | color RGB value (0-255) |
b | byte | color RGB value (0-255) |
Use a nav element without a symbol attribute to draw text labels (example: airspace labels, altitude restrictions, etc...) Newlines ā\nā are also supported
Draw VFR reporting points using a predefined symbol:
<maps> <map id="VFR REP POINTS" name="VFR" threshold="150"> <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="ATOM" short="AT" symbol="vfr" lat="N0505342" lon="E0042029" 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="MECH" short="ME" symbol="vfr" lat="N0510042" lon="E0042746" 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="BERTEM" short="BE" symbol="vfr" lat="N0505226" lon="E0043659" color="VFR" /> </map> </maps>
Draw a text label (without using a symbol) - notice that newlines can be used:
<maps> <map id="LOA" name="LOA"> <nav id="TSA26B" long="TSA26B\n4500-9500" lat="N0506236" lon="E0041531" color="LOA"/> </map> </maps>
A map containing VOR points could look like this:
<maps> <map id="VOR" name="VOR"> <nav id="BBE" symbol="vor" lat="N0504523000" lon="E0044605000" color="VOR"/> <nav id="BBL" symbol="vor" lat="N0511004000" lon="E0052808000" color="VOR"/> <nav id="AFI" symbol="vor" lat="N0505428001" lon="E0040820000" color="VOR"/> <nav id="BIG" symbol="vor" lat="N0511951150" lon="E0000205320" color="VOR"/> <nav id="BUB" symbol="vor" lat="N0505407999" lon="E0043217002" color="VOR"/> <nav id="BUN" symbol="vor" lat="N0510707000" lon="E0045030998" color="VOR"/> </map> </maps>
note: if there is no short label defined, the long label (id) is always used.
Use the tag attribute to avoid overlapping nav point names