code: function(name, options) {
          OpenLayers.Layer.prototype.initialize.apply(this, arguments);
  
          // allow user-set renderer, otherwise assign one
          if (!this.renderer || !this.renderer.supported()) {  
              this.assignRenderer();
          }
  
          // if no valid renderer found, display error
          if (!this.renderer || !this.renderer.supported()) {
              this.renderer = null;
              this.displayError();
          } 
  
          if (!this.styleMap) {
              this.styleMap = new OpenLayers.StyleMap();
          }
  
          this.features = [];
          this.selectedFeatures = [];
          this.unrenderedFeatures = {};
          
          // Allow for custom layer behavior
          if(this.strategies){
              for(var i=0, len=this.strategies.length; i<len; i++) {
                  this.strategies[i].setLayer(this);
              }
          }
  
      }
docs: Constructor: OpenLayers.Layer.Vector
  Create a new vector layer
  
  Parameters:
  name - {String} A name for the layer
  options - {Object} Optional object with non-default properties to set on
  the layer.
  
  Returns:
  {<OpenLayers.Layer.Vector>} A new vector layer