This is an old revision of the document!


Back

linestrip element

Use a linestrip element to draw a single point on the map.

Elementlinestrip
AttributeFormatRemarks
stippleintegerstipple line bitwise pattern definition
widthfloatline width in pixels
colorstringcolor id name
rbytecolor RGB value (0-255)
gbytecolor RGB value (0-255)
bbytecolor RGB value (0-255)

Each linestrip consists of at least three <point> elements where each <point> is connected to the next <point>.

Use linestrip instead of line 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)
This means that if you export an old sectorfile to the new map format, you need to remove the duplicate entries to improve performance.

example

  <linestrip>
      <point x="-0.603677" y="-0.132624"/>
      <point x="-0.601415" y="-0.132565"/>
      <point x="-0.601393" y="-0.133375"/>
      <point x="-0.603656" y="-0.133434"/>
      <point x="-0.603677" y="-0.132624"/>
  </linestrip>