This shows you the differences between two versions of the page.
ivac2:firdef_map_line [2014/04/13 12:33] filip.jonckers |
ivac2:firdef_map_line [2017/04/08 14:27] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[ivac2:firdef_toc|Back]] | ||
- | |||
- | ====== line element ====== | ||
- | |||
- | Use a line element to draw a single point on the map. | ||
- | |||
- | ^Element|line|| | ||
- | ^Attribute^Format^Remarks^ | ||
- | |stipple|integer|stipple line bitwise pattern definition| | ||
- | |width|float|line width in pixels| | ||
- | |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)| | ||
- | |||
- | |||
- | 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?|}} | ||
- | |||
- | |||
- | ===== Example ===== | ||
- | |||
- | <code XML> | ||
- | <line color="myPredefinedColor"> | ||
- | <point lon="E0042957" lat="N0511059"/> | ||
- | <point lon="E0044324" lat="N0510755"/> | ||
- | |||
- | <point lon="E0043127" lat="N0511038"/> | ||
- | <point lon="E0043140" lat="N0511101"/> | ||
- | |||
- | <point lon="E0043427" lat="N0510957"/> | ||
- | <point lon="E0043440" lat="N0511020"/> | ||
- | |||
- | <point lon="E0043726" lat="N0510917"/> | ||
- | <point lon="E0043739" lat="N0510940"/> | ||
- | |||
- | <point lon="E0044324" lat="N0510755"/> | ||
- | <point lon="E0044338" lat="N0510818"/> | ||
- | </line> | ||
- | </code> | ||