code: function(features) {
          if(!(OpenLayers.Util.isArray(features))) {
              features = [features];
          }
          for(var i=0; i<features.length; ++i) {
              delete this.features[features[i].id];
          }
          this.redraw();
      }
docs: Method: eraseFeatures
  This is called by the layer to erase features; removes the feature from
  the list, then redraws the layer.
  
  Parameters:
  features - {Array(<OpenLayers.Feature.Vector>)}