Differences

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

Link to this comparison view

ivac2:firdef_map_circle [2011/12/22 22:04]
filip.jonckers created
ivac2:firdef_map_circle [2017/04/08 14:27]
Line 1: Line 1:
-[[ivac2:​firdef_toc|Back]] 
- 
-====== circle element ====== 
- 
- 
-^Element|circle|| 
-^Attribute^Format^Remarks^ 
-|radius|float|radius of the circle in nautical miles| 
-|segments|integer|number of segments to draw| 
-|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)| 
- 
-draw a circle with center position <​point>​ and given radius using the amount of segments. 
- 
-{{:​ivac2:​firdef:​firdef_opengl_linestrip.png?​|}} 
- 
- 
-<​HTML>​ 
-<p style="​border:​1px dashed #​C11B17;​color:#​C11B17;">​ 
-Use <​b>​linestrip</​b>​ instead of <​b>​line</​b>​ to draw continues lines. 
-The drawing performance will be much better than using single lines as in the old sectorfile format. ​ (much less data to process)<​br>​This means that if you export an old sectorfile to the new map format, you need to remove the duplicate <​point>​ entries to improve performance. 
-</p> 
-</​HTML>​ 
- 
- 
-===== example ===== 
- 
-  <circle radius="​10"​ segments="​45"​ r="​255"​ g="​0"​ b="​0">​ 
-      <point lat="​N0511211970"​ lon="​E0025349610"/>​ 
-  </​circle>​