code: function(geometry) {
              var kml = this.createElementNS(this.kmlns, "MultiGeometry");
              var child;
              for(var i=0, len=geometry.components.length; i<len; ++i) {
                  child = this.buildGeometryNode.apply(this,
                                                       [geometry.components[i]]);
                  if(child) {
                      kml.appendChild(child);
                  }
              }
              return kml;
          }
docs: Method: buildGeometry.collection
  Given an OpenLayers geometry collection, create a KML MultiGeometry.
  
  Parameters:
  geometry - {<OpenLayers.Geometry.Collection>} A geometry collection.
  
  Returns:
  {DOMElement} A KML MultiGeometry node.