This is an old revision of the document!
The mapsymbols.xml file is used to draw symbols used in nav elements.
Element | symbol | |
---|---|---|
Attribute | Format | Remarks |
name | string | symbol name (must be unique) |
Each symbol is drawn using the same methods as used in the maps:
The symbol is drawn using a cartesian system where the location of the nav element is the centerpoint (0,0). The name attribute of a symbol is used in the symbol attribute of the nav element.
<symbols> <symbol name="vor"> <circle radius="3" segments="32" width="1" color="symbol_vor"> <point x="0" y="0"/> </circle> <polygon width="1" color="symbol_vor"> <point x="-3" y="3"/> <point x="3" y="3"/> <point x="0" y="-3"/> </polygon> </symbol> </symbols>
Use the symbol defined above in a map:
<nav id="AFI" symbol="vor" lat="N0505428001" lon="E0040820000"/>