This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ivac2:firdef_map_label [2016/04/06 21:59] filip.jonckers [Label element] |
ivac2:firdef_map_label [2017/04/08 14:27] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
Draw text labels on a map **without** an associated symbol. | Draw text labels on a map **without** an associated symbol. | ||
- | To insert a line break use ''\\n'' in the text string. | + | To insert a line break use ''\n'' in the text string. |
^Root Element|map|| | ^Root Element|map|| | ||
Line 9: | Line 9: | ||
^Attribute^Format^Remarks^ | ^Attribute^Format^Remarks^ | ||
|text|string|text label| | |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)| | + | |text_pos|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). If text_pos is not defined, the text will be drawn exactly on top of the point| |
|lat|latitude|string containing the latitude| | |lat|latitude|string containing the latitude| | ||
|lon|longitude|string containing the longitude| | |lon|longitude|string containing the longitude| | ||
Line 25: | Line 25: | ||
<map id="AIRSPACE INFO" name="TMA1" threshold="999"> | <map id="AIRSPACE INFO" name="TMA1" threshold="999"> | ||
<label text="FL195\n-----\n4500" lat="N0505216" lon="E0041014" color="AIRSPACE_INFO_COLOR" /> | <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="UNL\n-----\nGND" lat="N0505420" lon="E0042726" color="AIRSPACE_INFO_COLOR" text_pos="S" /> |
- | <label text="CBA9" ref="CBA9" color="AIRSPACE_INFO_COLOR" textpos="270" /> | + | <label text="CBA9" ref="CBA9" color="AIRSPACE_INFO_COLOR" text_pos="270" /> |
</map> | </map> | ||
</maps> | </maps> |