code: function(geometry, attributes, style) {
          OpenLayers.Feature.prototype.initialize.apply(this,
                                                        [null, null, attributes]);
          this.lonlat = null;
          this.geometry = geometry ? geometry : null;
          this.state = null;
          this.attributes = {};
          if (attributes) {
              this.attributes = OpenLayers.Util.extend(this.attributes,
                                                       attributes);
          }
          this.style = style ? style : null; 
      }
docs: Constructor: OpenLayers.Feature.Vector
  Create a vector feature.
  
  Parameters:
  geometry - {<OpenLayers.Geometry>} The geometry that this feature
  represents.
  attributes - {Object} An optional object that will be mapped to the
  <attributes> property.
  style - {Object} An optional style object.