This is an old revision of the document!


Back

label element

Draw text labels on a map.

ElementLabel
AttributeFormatRemarks
textstringtext label
textposstringdefines 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)
latlatitudestring containing the latitude
lonlongitudestring containing the longitude
refpoint refstring containing the reference point id. (see points.xml)
xfloatcartesian X value (if lat/lon not used)
yfloatcartesian Y value (if lat/lon not used)
colorstringcolor id name
rbytecolor RGB value (0-255)
gbytecolor RGB value (0-255)
bbytecolor RGB value (0-255)

example

Show airspace vertical boundaries information:

  <maps>
      <map id="AIRSPACE INFO" name="TMA1" threshold="999">
          <label text="FL195\n-----\n4500" lat="N0505216" lon="E0041014" color="AIRSPACE_INFO_COLOR" />
          <label text="UNL\n-----\nGND"    lat="N0505420" lon="E0042726" color="AIRSPACE_INFO_COLOR" textpos="S"   />
          <label text="CBA9"               ref="CBA9"                    color="AIRSPACE_INFO_COLOR" textpos="270" />
      </map>
  </maps>