.KML styling for Google Maps

48 views
Skip to first unread message

uhl

unread,
Mar 29, 2013, 2:34:37 AM3/29/13
to kml-support-g...@googlegroups.com
Hi everyone,

I'm having trouble getting my polygones to display properly. I'm looking for black fill, with white line (64000000 & 64fafafa), full opacity. 

here's an example from my kml file:

  <Document>
    <Style id="trees_style">
      <LineStyle>
        <width>5</width>
        <color>64FAFAFA</color>
      </LineStyle>
      <PolyStyle>
        <color>64000000</color>
      </PolyStyle>
    </Style>
    <Placemark>
      <name>trees</name>
      <styleUrl>#trees_style</styleUrl>
      <Polygon>
        <outerBoundaryIs>
          <LinearRing>
            <coordinates point0Lat="51.79601931769631" point0Lng="15.723661527569847" point1Lat="51.795906515958364" point1Lng="15.72389756196312">15.72392869102405,51.795962916862614,0 15.723921391286634,51.795934412645174,0 15.72390020662349,51.79590869860368,0 15.723867210737108,51.79588829181437,0 15.723825633494698,51.79587518984427,0 15.723779544766465,51.79587067521218,0 15.72373345603823,51.79587518984427,0 15.723691878795822,51.79588829181437,0 15.723658882909438,51.79590869860368,0 15.723637698246295,51.795934412645174,0 15.723630398508881,51.795962916862614,0 15.723637698246295,51.79599142106201,0 15.723658882909438,51.79601713505634,0 15.723691878795822,51.79603754178733,0 15.72373345603823,51.79605064371026,0 15.723779544766465,51.79605515832436,0 15.723825633494698,51.79605064371026,0 15.723867210737108,51.79603754178733,0 15.72390020662349,51.79601713505634,0 15.723921391286634,51.79599142106201,0</coordinates>
          </LinearRing>
        </outerBoundaryIs>
      </Polygon>
    </Placemark>
    <Placemark>

as you can see in the jsfiddle, circles - even though assigned with the same style - don't display evenly. there's two that have a slightly higher opacity! not to mention colors are all messed up.


i'll appreciate all fedback.

uhl

unread,
Mar 29, 2013, 3:09:06 AM3/29/13
to kml-support-g...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages