Hi, it&#39;s again me :)<br><br>When I want to hide/show a feature, I just do in a normal case: feature.style.display = &quot;none&quot;;<br>This is working great.<br><br>But in the following case it&#39;s not working, and I don&#39;t have what to do.<br>
<br>- I have a KML with placemark (Point and Polygon)<br>- Each Placemark have attributes like (fontColor,label,labeloffestY)<br>- I used a StyleMap to style the features of this KML<br>like that:<br>var extraMap = new OpenLayers.StyleMap({&#39;default&#39;:{<br>
            fillOpacity: 1,<br>            pointRadius: &quot;${pointSize}&quot;,<br>            label : &quot;${label}&quot;,<br>            fontColor: &quot;${fontColor}&quot;,<br>            fontSize: &quot;${labelSize}px&quot;,<br>
           ....<br><br>GMLlayer = new OpenLayers.Layer.GML(json.files[i].name, json.files[i].kml, <br>                                            {<br>                                                format: OpenLayers.Format.KML, <br>
                                                formatOptions: {<br>                                                    extractStyles: true, <br>                                                    extractAttributes: true,<br>
                                                    maxDepth: 2<br>                                                    },<br>                                                styleMap: style<br>                                            });<br>
<br>Then when I tried to do feature.style.display but feature.style is not defined.<br><br>What can I do :-( ?<br>