title: Custom style for a vector layer
body: <p>I would like to change the default style for vector features in a map layer.
  Reading the doc, I wrote the following:</p>
  
  <pre><code>var myStyle = new OpenLayers.Style({fill: true,fillColor: "#ff0000"});
  var vector_layer = new OpenLayers.Layer.Vector('CODLayer', {style: myStyle});
  </code></pre>
  
  <p>But I get every feature black...do you have an idea of what I'm missing?</p>