code: function(obj) {
          var feature, geometry, attributes, bbox;
          attributes = (obj.properties) ? obj.properties : {};
          bbox = (obj.geometry && obj.geometry.bbox) || obj.bbox;
          try {
              geometry = this.parseGeometry(obj.geometry);
          } catch(err) {
              // deal with bad geometries
              throw err;
          }
          feature = new OpenLayers.Feature.Vector(geometry, attributes);
          if(bbox) {
              feature.bounds = OpenLayers.Bounds.fromArray(bbox);
          }
          if(obj.id) {
              feature.fid = obj.id;
          }
          return feature;
      }
docs: Method: parseFeature
  Convert a feature object from GeoJSON into an
  <OpenLayers.Feature.Vector>.
  
  Parameters:
  obj - {Object} An object created from a GeoJSON object
  
  Returns:
  {<OpenLayers.Feature.Vector>} A feature.