Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
ivac2:firdef_map_label [2015/03/21 19:08]
127.0.0.1 external edit
ivac2:firdef_map_label [2016/04/06 22:00]
filip.jonckers [Label element]
Line 1: Line 1:
-[[ivac2:​firdef_toc|Back]]+====== Label element ======
  
-====== label element ====== +Draw text labels on a map **without** an associated symbol.
- +
-Draw text labels on a map.+
  
 +To insert a line break use ''​\n''​ in the text string.
  
 +^Root Element|map||
 ^Element|Label|| ^Element|Label||
 ^Attribute^Format^Remarks^ ^Attribute^Format^Remarks^
Line 13: Line 13:
 |lon|longitude|string containing the longitude| |lon|longitude|string containing the longitude|
 |ref|point ref|string containing the reference point id. (see points.xml)| |ref|point ref|string containing the reference point id. (see points.xml)|
-|x|float|cartesian X value (if lat/lon not used)| +|x|double|cartesian X value (if lat/lon not used)| 
-|y|float|cartesian Y value (if lat/lon not used)|+|y|double|cartesian Y value (if lat/lon not used)|
 |color|string|color id name| |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 ​=====
- +
-===== example ​=====+
  
 Show airspace vertical boundaries information:​ Show airspace vertical boundaries information:​
Line 36: Line 31:
 </​code>​ </​code>​
  
 +
 +----
 +
 +[[ivac2:​firdef|Back]]