Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The color and the thickness of the lines are defined by the &lt;LineStyle> node in the resulting KML file. You can easily change them. </p> <pre><code>&lt;LineStyle&gt;&lt;color&gt;660000FF&lt;/color&gt;&lt;width&gt;0.1&lt;/width&gt;&lt;/LineStyle&gt; </code></pre> <p>Just remember that the encoding of the four hex bytes for the color is a bit unusual: &nbsp; <strong>Alpha, B, G, R</strong></p> <p>So 660000FF is Red (#FF on position 4) with an alpha-transparency of about 26% (#66 on position 1).</p> <p>The KML reference with all the details can be found here: <br> <a href="https://developers.google.com/kml/documentation/kmlreference" rel="nofollow">https://developers.google.com/kml/documentation/kmlreference</a></p> <p>The Birdtheme Google Maps tool (your link) allows you to directly play around with the LineStyles by simply clicking the <em>"Style&nbsp;options"</em> button!</p> <p><strong>EDIT:</strong></p> <p>If you need multiple outlines around a polygon path (i.e. highway style) you can paint the same polygon multiple times with different widths and colors. Here is a rough example how this could be implemented:</p> <pre><code>&lt;Style id="outerLine"&gt; &lt;LineStyle&gt;&lt;color&gt;FF0000FF&lt;/color&gt;&lt;width&gt;6&lt;/width&gt;&lt;/LineStyle&gt; &lt;/Style&gt; &lt;Style id="innerLine"&gt; &lt;LineStyle&gt;&lt;color&gt;FFFFFFFF&lt;/color&gt;&lt;width&gt;3&lt;/width&gt;&lt;/LineStyle&gt; &lt;/Style&gt; &lt;Placemark&gt; &lt;styleUrl&gt;#outerLine&lt;/styleUrl&gt; &lt;LineString&gt;&lt;coordinates&gt;6.0,48.0,0 18.0,50.0,0 16.0,41.0,0&lt;/coordinates&gt;&lt;/LineString&gt; &lt;/Placemark&gt; &lt;Placemark&gt; &lt;styleUrl&gt;#innerLine&lt;/styleUrl&gt; &lt;LineString&gt;&lt;coordinates&gt;6.0,48.0,0 18.0,50.0,0 16.0,41.0,0&lt;/coordinates&gt;&lt;/LineString&gt; &lt;/Placemark&gt; </code></pre> <p>With this technique the inner line is painted on top of the outer line. Unfortunately this limits the possibilities of making the whole ensemble semi-transparent: If you make the inner line semi-transparent it will not only show the background but also the color of the outer line shining through.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload