code: function(collection) {
              var len = collection.components.length;
              var array = new Array(len);
              for(var i=0; i<len; ++i) {
                  array[i] = this.extract.geometry.apply(
                      this, [collection.components[i]]
                  );
              }
              return array;
          }
docs: Method: extract.collection
  Return an array of geometries from a geometry collection.
  
  Parameters:
  collection - {<OpenLayers.Geometry.Collection>}
  
  Returns:
  {Array} An array of geometry objects representing the geometry
  collection.