Could anyone explain one confusing things.<br>I want to change style of particular one of many features in the layer.<br><br><div>Why this syntax works:<br><br>layer.features[1].style = new OpenLayers.Style();<br>layer.features[1].style.fillColor = &quot;#DFDFFF&quot;;<br>
layer.redraw();<br><br>But this no give expected result:<br><br></div><div>layer.features[1].style = new OpenLayers.Style({fillColor: &quot;#DFDFFF&quot;});<br>layer.redraw();<br><br></div><div>Thanks!<br><br></div>