code: function(geometry) {
          var points = null;
          
          if (geometry.components) {
              points = geometry.components;
          }
  
          var path;
          if (points) {
              var numPoints = points.length;
              var parts = new Array(numPoints);
              for (var i = 0; i < numPoints; i++) {
                  parts[i] = points[i].y + " " + points[i].x;
              }
              path = parts.join(" ");
          } else {
              path = geometry.y + " " + geometry.x;
          }
          return this.createTextNode(path);
      }
docs: Method: buildCoordinatesNode
  
  Parameters:
  geometry - {<OpenLayers.Geometry>}