code: function(array) {
              var rings = [];
              var r, l;
              for(var i=0, len=array.length; i<len; ++i) {
                  try {
                      l = this.parseCoords["linestring"].apply(this, [array[i]]);
                  } catch(err) {
                      throw err;
                  }
                  r = new OpenLayers.Geometry.LinearRing(l.components);
                  rings.push(r);
              }
              return new OpenLayers.Geometry.Polygon(rings);
          }
docs: Method: parseCoords.polygon
  Convert a coordinate array from GeoJSON into an
  <OpenLayers.Geometry>.
  
  Returns:
  {<OpenLayers.Geometry>} A geometry.