This shows you the differences between two versions of the page.
ivac2:firdef_map_label [2015/02/17 15:57] filip.jonckers created |
ivac2:firdef_map_label [2017/04/08 14:27] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[ivac2:firdef_toc|Back]] | ||
- | |||
- | ====== label element ====== | ||
- | |||
- | Draw text labels on a map. | ||
- | |||
- | |||
- | ^Element|Label|| | ||
- | ^Attribute^Format^Remarks^ | ||
- | |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| | ||
- | |r|byte|color RGB value (0-255)| | ||
- | |g|byte|color RGB value (0-255)| | ||
- | |b|byte|color RGB value (0-255)| | ||
- | |||
- | |||
- | |||
- | ===== example ===== | ||
- | |||
- | Show airspace vertical boundaries information: | ||
- | |||
- | <code XML> | ||
- | <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> | ||
- | </code> | ||