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