Hi all, <br><br>Can anyone explain why when I run the example:<br><br><a href="http://www.openlayers.org/dev/examples/kml-layer.html">http://www.openlayers.org/dev/examples/kml-layer.html</a> <br><br>it appears a line and 3 polygons with 3 different colors and if I use exactly the same code with the same layer, the polygons are replaced by one line?????<br>
<br>The code is this:<br><br> map.addLayer(new OpenLayers.Layer.GML("KML", "kml/lines.kml", <br> {<br> format: OpenLayers.Format.KML, <br> formatOptions: {<br>
extractStyles: true, <br> extractAttributes: true<br> }<br> }));<br><br>and in fact, the layer has three polygons with different colors. What am I missing.<br>
<br>I have try also to reference the library that it is online but i still stay with out seeing the polygons.<br><br>Can anyone explain this?<br><br>Thanks<br><br>Carlos<br><br><br>