<Document>
<name>LineStyle.kml</name>
<open>1</open>
<Style id="linestyleExample">
<LineStyle>
<color>7f0000ff</color>
<width>4</width>
</LineStyle>
<Placemark id="kml_1">
<name>kml_1</name>
<styleUrl>#linestyleExample</styleUrl>
And this works, the line does change color! ..but there still is a problem.
I have created my kml-files thru converting a shapefile. And the shapefile includes over 500 lines with their own attributes.
Therefor, the problem is that using the tags above forces me to write that <styleurl> over 500 times, one time for every line. Would´nt it be some way easier to give all the lines the same color somehow?
/Toby
<Style id="test">
<LineStyle>
<color>6414B400</color>
<width>3</width>
</LineStyle>
<PolyStyle>
<color>64F00014</color>
</PolyStyle>
</Style>
And it gets the colors i want, but the colors are transparent. Why?
cheers /Toby