title: OpenLayer KML loads icon but doesn't show labels
body: <p>I loading a KML using OpenLayer. Loads the icons, but doesn't show the labels. If I remove the "Style" section the label is shown, but not the icon. Any idea is highly appreciated. Thanks</p>
  
  <p>My code:</p>
  
  <pre><code>    var myStyles2 = new OpenLayers.StyleMap({
          "default": new OpenLayers.Style({
              strokeColor: "#FFCC33",
              strokeWidth: 6,
              strokeOpacity: 1,
              fillColor: "#003399",
              fillOpacity: 0,
              label: "${name}",
              fontSize: "40px"
          })
      });
  
      var OMapShips = new OpenLayers.Layer.Vector("KML", { styleMap: myStyles2,
          projection: new OpenLayers.Projection("EPSG:4326"),
          strategies: [new OpenLayers.Strategy.Fixed({ preload: false })],
          protocol: new OpenLayers.Protocol.HTTP({
              url: 'js/hl/XMLFile.xml',
              format: new OpenLayers.Format.KML({
                  extractStyles: true,
                  extractAttributes: true,
                  maxDepth: 2
              })
          }),
          renderers: ["SVG"]
      });
  
      OMap.addLayers([OMapShips]);
  </code></pre>
  
  <p>Extract of the KML</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-16" standalone="yes"?&gt;
  &lt;kml xmlns="http://www.opengis.net/kml/2.2"&gt;
    &lt;Document id="shipsKML"&gt;
      &lt;name&gt;shipsKML&lt;/name&gt;
      &lt;Placemark id="366943240"&gt;
        &lt;name&gt;Aet Shelby&lt;/name&gt;
        &lt;description&gt;&lt;![CDATA[&lt;table width = "250px" style="font-size:10px;"&lt;tr&gt;&lt;td align="left"&gt;Vessel Name&lt;/td&gt;&lt;td align="right"&gt;AET SHELBY&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;]]&gt;&lt;/description&gt;
        &lt;Point&gt;
          &lt;coordinates&gt;-94.78686,29.3203483333333,0&lt;/coordinates&gt;
        &lt;/Point&gt;
        &lt;Style&gt;
          &lt;IconStyle&gt;
            &lt;color&gt;ffffffff&lt;/color&gt;
            &lt;heading&gt;511&lt;/heading&gt;
            &lt;Icon&gt;
              &lt;href&gt;&lt;![CDATA[http://XX.XX.XX.XX/Icons/Moored/MPR_Moored.png]]&gt;&lt;/href&gt;
            &lt;/Icon&gt;
          &lt;/IconStyle&gt;
          &lt;BalloonStyle&gt;
            &lt;bgColor&gt;ff000000&lt;/bgColor&gt;
            &lt;textColor&gt;ffffffff&lt;/textColor&gt;
            &lt;text&gt;&lt;![CDATA[$[description]]]&gt;&lt;/text&gt;
          &lt;/BalloonStyle&gt;
        &lt;/Style&gt;
      &lt;/Placemark&gt;
    &lt;/Document&gt;
  &lt;/kml&gt;
  </code></pre>