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
ivac2:firdef_map_lines [2015/06/08 13:17]
splendor.bouman
ivac2:firdef_map_lines [2017/11/24 11:22] (current)
splendor.bouman
Line 1: Line 1:
 ====== lines ====== ====== lines ======
  
-Use a line element to draw a single point on the map.  You might remember this one as the only way to draw objects in IVAC v1 sectorfiles.+Use a lines element to quickly ​draw a lot of independent unconnected lines.  You might remember this one as the only way to draw objects in IVAC v1 sectorfiles. ​
  
 +Each line consists of two <​point>​ elements where the first <​point>​ is the start and the second <​point>​ element is the end of the line to draw. The total amount of <​point>​ elements must be even.
 +
 +^Root Element|map||
 ^Element|lines|| ^Element|lines||
 ^Attribute^Format^Remarks^ ^Attribute^Format^Remarks^
Line 8: Line 11:
 |stroke_width|float|line width in pixels| |stroke_width|float|line width in pixels|
 |stroke_color|string|color id name| |stroke_color|string|color id name|
- +|followgrid|boolean|If true, paths follow grid (rhumb ​line)If false paths follow great circle ''​NEW''​|
-Each line consists of an even amount of <​point>​ elements where the first <​point>​ is the start and the second <​point>​ element is the end of the line to draw.+
  
 {{:​ivac2:​firdef:​firdef_opengl_line.png?​|}} {{:​ivac2:​firdef:​firdef_opengl_line.png?​|}}