Differences

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

Link to this comparison view

ivac2:firdef_map_symbol [2015/06/08 13:13]
splendor.bouman
ivac2:firdef_map_symbol [2017/04/08 14:27]
Line 1: Line 1:
-====== Symbol element ====== 
  
-Draw symbols representing navigation points (VOR, NDB, fixes, VFR reporting points, ...) with or without a text label. 
- 
- 
-^Element|Symbol|| 
-^Attribute^Format^Remarks^ 
-|id|string|symbol id used to draw the symbol (see symbols.xml)| 
-|text|string|text label| 
-|textpos|string|defines at which location relative to the symbol the tag shall be drawn \\ possible values are: N, NE, E, SE, S, SW, W, NW \\ or use a value in degrees (N=0 E=90 S=180 NW=315)| 
-|lat|latitude|string containing the latitude| 
-|lon|longitude|string containing the longitude| 
-|ref|point ref|string containing the reference point id. (see points.xml)| 
-|x|float|cartesian X value (if lat/lon not used)| 
-|y|float|cartesian Y value (if lat/lon not used)| 
-|color|string|color id name| 
-|threshold|integer|Zoom value above which element is visible| 
- 
- 
-===== example ===== 
- 
-Draw VFR reporting points using a predefined symbol: 
- 
-<code XML> 
-  <​maps>​ 
-      <map id="​VFR REP POINTS"​ name="​VFR"​ threshold="​150">​ 
-          <symbol id="​vfr"​ text="​TERNAT"​ lat="​N0505216"​ lon="​E0041014"​ color="​VFR"​ /> 
-          <symbol id="​vfr"​ text="​GRBIJG"​ lat="​N0505231"​ lon="​E0041626"​ color="​VFR"​ /> 
-          <symbol id="​vfr"​ text="​ATOM" ​  ​lat="​N0505342"​ lon="​E0042029"​ color="​VFR"​ /> 
-          <symbol id="​vfr"​ text="​BRUCAR"​ lat="​N0505420"​ lon="​E0042726"​ color="​VFR"​ textpos="​N"​ /> 
-          <symbol id="​vfr"​ text="​PEUTIE"​ lat="​N0505555"​ lon="​E0042748"​ color="​VFR"​ /> 
-          <symbol id="​vfr"​ text="​MECH" ​  ​lat="​N0510042"​ lon="​E0042746"​ color="​VFR"​ /> 
-          <symbol id="​vfr"​ text="​ABMECH"​ lat="​N0510117"​ lon="​E0043023"​ color="​VFR"​ textpos="​270"​ /> 
-          <symbol id="​vfr"​ text="​NOSSE" ​ lat="​N0505210"​ lon="​E0043038"​ color="​VFR"​ /> 
-          <symbol id="​vfr"​ text="​BERTEM"​ lat="​N0505226"​ lon="​E0043659"​ color="​VFR"​ /> 
-      </​map>​ 
-  </​maps>​ 
-</​code>​ 
- 
- 
-A map containing VOR points based on the points.xml file: 
- 
-<code XML> 
-  <​maps>​ 
-      <map id="​VOR"​ name="​VOR">​ 
-          <symbol id="​vor"​ text="​BBE"​ ref="​BBE"​ color="​VOR"/>​ 
-          <symbol id="​vor"​ text="​BBL"​ ref="​BBL"​ color="​VOR"/>​ 
-          <symbol id="​vor"​ text="​AFI"​ ref="​AFI"​ color="​VOR"/>​ 
-          <symbol id="​vor"​ text="​BIG"​ ref="​BIG"​ color="​VOR"/>​ 
-          <symbol id="​vor"​ text="​BUB"​ ref="​BUB"​ color="​VOR"/>​ 
-          <symbol id="​vor"​ text="​BUN"​ ref="​BUN"​ color="​VOR"/>​ 
-      </​map>​ 
-  </​maps>​ 
-</​code>​ 
- 
- 
-<​HTML>​ 
-<p style="​border:​1px dashed #​C11B17;​color:#​C11B17;">​ 
-Use the tag attribute to avoid overlapping text labels 
-</p> 
-</​HTML>​ 
- 
- 
----- 
- 
-[[ivac2:​firdef|Back]]