code: function(nodes) {
          var vertices = [];
          for(var i=0, len=this.components.length; i<len; ++i) {
              Array.prototype.push.apply(
                  vertices, this.components[i].getVertices(nodes)
              );
          }
          return vertices;
      }
docs: APIMethod: getVertices
  Return a list of all points in this geometry.
  
  Parameters:
  nodes - {Boolean} For lines, only return vertices that are
  endpoints.  If false, for lines, only vertices that are not
  endpoints will be returned.  If not provided, all vertices will
  be returned.
  
  Returns:
  {Array} A list of all vertices in the geometry.